llvm-project/lldb/bindings/python
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
..
CMakeLists.txt Revert "[lldb/Plugins] Add ScriptedProcess Process Plugin" 2021-03-24 21:31:16 +01:00
createPythonInit.py
python-extensions.swig [lldb][docs] Cleanup the Python doc strings for SB API classes 2021-01-17 16:51:07 +01:00
python-swigsafecast.swig Revert "Revert "Add the ability to write target stop-hooks using the ScriptInterpreter."" 2020-09-29 12:01:14 -07:00
python-typemaps.h Move Py_buffer_RAII to .h file so SWIG 2 doesnt have to parse it 2020-08-22 10:43:50 -07:00
python-typemaps.swig Move Py_buffer_RAII to .h file so SWIG 2 doesnt have to parse it 2020-08-22 10:43:50 -07:00
python-wrapper.swig [lldb/Plugins] Introduce Scripted Interface Factory 2021-09-03 19:37:25 +02:00
python.swig [lldb][docs] Add a doc page for enums and constants 2021-01-19 18:54:05 +01:00