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/unittests/ScriptInterpreter/Python | |
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/unittests/ScriptInterpreter/Python')
-rw-r--r-- | lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp b/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp index a9e908e..f2746c3 100644 --- a/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp +++ b/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp @@ -154,11 +154,6 @@ void *lldb_private::python::LLDBSWIGPython_CastPyObjectToSBMemoryRegionInfo( return nullptr; } -void *lldb_private::python::LLDBSWIGPython_CastPyObjectToSBExecutionContext( - PyObject *data) { - return nullptr; -} - lldb::ValueObjectSP lldb_private::python::SWIGBridge::LLDBSWIGPython_GetValueObjectSPFromSBValue( void *data) { @@ -274,6 +269,20 @@ void *lldb_private::python::SWIGBridge::LLDBSWIGPython_GetDynamicSetting( } python::PythonObject +lldb_private::python::SWIGBridge::LLDBSwigPythonCreateScriptedStopHook( + lldb::TargetSP target_sp, const char *python_class_name, + const char *session_dictionary_name, const StructuredDataImpl &args_impl, + Status &error) { + return python::PythonObject(); +} + +bool lldb_private::python::SWIGBridge::LLDBSwigPythonStopHookCallHandleStop( + void *implementor, lldb::ExecutionContextRefSP exc_ctx_sp, + lldb::StreamSP stream) { + return false; +} + +python::PythonObject lldb_private::python::SWIGBridge::ToSWIGWrapper(Status status) { return python::PythonObject(); } |