llvm-project/lldb/bindings
Med Ismail Bennani 3925204c1f [lldb/Plugins] Introduce Scripted Interface Factory
This patch splits the previous `ScriptedProcessPythonInterface` into
multiple specific classes:

1. The `ScriptedInterface` abstract class that carries the interface
   instance object and its virtual pure abstract creation method.

2. The `ScriptedPythonInterface` that holds a generic `Dispatch` method that
   can be used by various interfaces to call python methods and also keeps a
   reference to the Python Script Interpreter instance.

3. The `ScriptedProcessInterface` that describes the base Scripted
   Process model with all the methods used in the underlying script.

All these components are used to refactor the `ScriptedProcessPythonInterface`
class, making it more modular.

This patch is also a requirement for the upcoming work on `ScriptedThread`.

Differential Revision: https://reviews.llvm.org/D107521

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
2021-09-03 19:37:25 +02:00
..
interface [lldb] Add AllocateMemory/DeallocateMemory to the SBProcess API 2021-07-16 00:45:22 +02:00
lua [lldb/lua] Add scripted watchpoints for Lua 2021-07-07 14:51:02 -03:00
python [lldb/Plugins] Introduce Scripted Interface Factory 2021-09-03 19:37:25 +02:00
CMakeLists.txt [lldb/CMake] Separate CMake code for Lua and Python (NFC) 2020-08-11 09:04:18 -07:00
headers.swig [trace][intel-pt] Create basic SB API 2021-06-17 15:14:47 -07:00
interfaces.swig [trace][intel-pt] Create basic SB API 2021-06-17 15:14:47 -07:00
macros.swig [lldb] Remove nothreadallow from SWIG's __str__ wrappers to work around a Python>=3.7 crash 2020-09-28 10:10:34 +02:00