diff options
| author | Med Ismail Bennani <ismail@bennani.ma> | 2025-11-06 11:54:17 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-06 11:54:17 -0800 |
| commit | 4cd17eeaeb13f44e7c0783e83716c06a2b9110a3 (patch) | |
| tree | 97c16825908f93249259bf0246deea8ce2476b54 /lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp | |
| parent | 165563cf20f2e2e781a27d9981a7f5993c37a316 (diff) | |
| download | llvm-4cd17eeaeb13f44e7c0783e83716c06a2b9110a3.zip llvm-4cd17eeaeb13f44e7c0783e83716c06a2b9110a3.tar.gz llvm-4cd17eeaeb13f44e7c0783e83716c06a2b9110a3.tar.bz2 | |
[lldb/Interpreter] Implement ScriptedFrameProvider{,Python}Interface (#166662)
This patch implements the base and python interface for the
ScriptedFrameProvider class.
This is necessary to call python APIs from the ScriptedFrameProvider
that will come in a follow-up.
Signed-off-by: Med Ismail Bennani <ismail@bennani.ma>
Signed-off-by: Med Ismail Bennani <ismail@bennani.ma>
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp')
| -rw-r--r-- | lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp b/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp index 3d0e2d8..a63b740 100644 --- a/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp +++ b/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp @@ -161,6 +161,11 @@ void *lldb_private::python::LLDBSWIGPython_CastPyObjectToSBExecutionContext( return nullptr; } +void * +lldb_private::python::LLDBSWIGPython_CastPyObjectToSBFrameList(PyObject *data) { + return nullptr; +} + lldb::ValueObjectSP lldb_private::python::SWIGBridge::LLDBSWIGPython_GetValueObjectSPFromSBValue( void *data) { @@ -329,6 +334,11 @@ lldb_private::python::SWIGBridge::ToSWIGWrapper(lldb::ProcessSP) { return python::PythonObject(); } +python::PythonObject +lldb_private::python::SWIGBridge::ToSWIGWrapper(lldb::StackFrameListSP) { + return python::PythonObject(); +} + python::PythonObject lldb_private::python::SWIGBridge::ToSWIGWrapper( const lldb_private::StructuredDataImpl &) { return python::PythonObject(); |
