aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorrchamala <36907958+rchamala@users.noreply.github.com>2025-01-06 09:17:58 -0800
committerGitHub <noreply@github.com>2025-01-06 09:17:58 -0800
commitb6960e2a631df38c076cee2845978b0606cea066 (patch)
treed82964341f6331439d63128fc6a8a7819b99ad40 /lldb/source/Plugins/ScriptInterpreter/Python
parent55391f85acc7e7a14ea2ef3c1a4bd8f3df990426 (diff)
downloadllvm-b6960e2a631df38c076cee2845978b0606cea066.zip
llvm-b6960e2a631df38c076cee2845978b0606cea066.tar.gz
llvm-b6960e2a631df38c076cee2845978b0606cea066.tar.bz2
[lldb][ResolveSourceFileCallback] Update SBModule (#120832)
Summary: RFC https://discourse.llvm.org/t/rfc-python-callback-for-source-file-resolution/83545 SBModule will be used for resolve source file callback as Python function arguments. This diff allows these things. Can be instantiated from SBPlatform. Can be passed to/from Python. Test Plan: N/A. The next set of diffs in the stack have unittests and shell test validation Co-authored-by: Rahul Reddy Chamala <rachamal@fb.com>
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
-rw-r--r--lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h b/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
index 518a478..0f0e4a5 100644
--- a/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
+++ b/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
@@ -84,6 +84,7 @@ public:
static PythonObject ToSWIGWrapper(lldb::ValueObjectSP value_sp);
static PythonObject ToSWIGWrapper(lldb::TargetSP target_sp);
static PythonObject ToSWIGWrapper(lldb::ProcessSP process_sp);
+ static PythonObject ToSWIGWrapper(lldb::ModuleSP module_sp);
static PythonObject ToSWIGWrapper(lldb::ThreadPlanSP thread_plan_sp);
static PythonObject ToSWIGWrapper(lldb::BreakpointSP breakpoint_sp);
static PythonObject ToSWIGWrapper(Status &&status);