diff options
author | David Spickett <david.spickett@linaro.org> | 2024-09-20 09:52:32 +0000 |
---|---|---|
committer | David Spickett <david.spickett@linaro.org> | 2024-09-20 09:57:07 +0000 |
commit | 801046e3303eed43bffebb84e9e505cc19cad5c0 (patch) | |
tree | cdec65aa41de8e852ba5b01c020fc47a396ec746 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h | |
parent | 413b12a5aba09f136c51923fe568c7269ef93c35 (diff) | |
download | llvm-801046e3303eed43bffebb84e9e505cc19cad5c0.zip llvm-801046e3303eed43bffebb84e9e505cc19cad5c0.tar.gz llvm-801046e3303eed43bffebb84e9e505cc19cad5c0.tar.bz2 |
Revert "[lldb] Fix SWIG wrapper compilation error"
...and "[lldb/Interpreter] Introduce `ScriptedStopHook{,Python}Interface` & make use of it (#105449)"
This reverts commit 76b827bb4d5b4cc4d3229c4c6de2529e8b156810, and commit 1e131ddfa8f1d7b18c85c6e4079458be8b419421
because the first commit caused the test command-stop-hook-output.test to fail.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
-rw-r--r-- | lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h b/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h index 8888a1e..97a3837 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h +++ b/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h @@ -157,6 +157,16 @@ public: const char *method_name, lldb_private::SymbolContext *sym_ctx); + static python::PythonObject LLDBSwigPythonCreateScriptedStopHook( + lldb::TargetSP target_sp, const char *python_class_name, + const char *session_dictionary_name, const StructuredDataImpl &args, + lldb_private::Status &error); + + static bool + LLDBSwigPythonStopHookCallHandleStop(void *implementor, + lldb::ExecutionContextRefSP exc_ctx, + lldb::StreamSP stream); + static size_t LLDBSwigPython_CalculateNumChildren(PyObject *implementor, uint32_t max); @@ -256,7 +266,6 @@ void *LLDBSWIGPython_CastPyObjectToSBEvent(PyObject *data); void *LLDBSWIGPython_CastPyObjectToSBStream(PyObject *data); void *LLDBSWIGPython_CastPyObjectToSBValue(PyObject *data); void *LLDBSWIGPython_CastPyObjectToSBMemoryRegionInfo(PyObject *data); -void *LLDBSWIGPython_CastPyObjectToSBExecutionContext(PyObject *data); } // namespace python } // namespace lldb_private |