The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. This fork is used to manage Apple’s stable releases of Clang as well as support the Swift project.
This patch introduces an OperatingSystem base implementation in the lldb python module to make it easier for lldb users to write their own implementation.
The OperatingSystem base implementation is derived itself from the ScriptedThread base implementation since they share some common grounds.
To achieve that, this patch makes changes to the ScriptedThread initializer since it gets called by the OperatingSystem initializer.
I also took the opportunity to document the OperatingSystem base class and methods.
This patch introduces an
OperatingSystem
base implementation in thelldb
python module to make it easier for lldb users to write their own implementation.The
OperatingSystem
base implementation is derived itself from theScriptedThread
base implementation since they share some common grounds.To achieve that, this patch makes changes to the
ScriptedThread
initializer since it gets called by theOperatingSystem
initializer.I also took the opportunity to document the
OperatingSystem
base class and methods.Differential Revision: https://reviews.llvm.org/D159315
Signed-off-by: Med Ismail Bennani ismail@bennani.ma (cherry picked from commit ec456ba9ca0a097da63daafbb031cb2024f5513a)