aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Interpreter/ScriptInterpreter.cpp
diff options
context:
space:
mode:
authorMed Ismail Bennani <medismail.bennani@gmail.com>2023-01-11 23:27:39 -0800
committerMed Ismail Bennani <medismail.bennani@gmail.com>2023-01-12 12:49:05 -0800
commitb1256f2345f6c48b08cd8691778f39e3e9053f56 (patch)
treee6ef06919b8af0a99c101c22d1082a6e55a9cc9a /lldb/source/Interpreter/ScriptInterpreter.cpp
parentbb4ccc6688893d1bf38cfca76620d84f947b9de1 (diff)
downloadllvm-b1256f2345f6c48b08cd8691778f39e3e9053f56.zip
llvm-b1256f2345f6c48b08cd8691778f39e3e9053f56.tar.gz
llvm-b1256f2345f6c48b08cd8691778f39e3e9053f56.tar.bz2
[lldb/Interpreter] Introduce ScriptedPlatform{,Python}Interface
This patch introduces both the ScriptedPlatformInterface and the ScriptedPlatformPythonInterface. As the name suggests, these calls will be used to call into the Scripted Platform python implementation from the C++ Scripted Platform plugin instance. Differential Revision: https://reviews.llvm.org/D139251 Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
Diffstat (limited to 'lldb/source/Interpreter/ScriptInterpreter.cpp')
-rw-r--r--lldb/source/Interpreter/ScriptInterpreter.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/lldb/source/Interpreter/ScriptInterpreter.cpp b/lldb/source/Interpreter/ScriptInterpreter.cpp
index 46ba995..2722666 100644
--- a/lldb/source/Interpreter/ScriptInterpreter.cpp
+++ b/lldb/source/Interpreter/ScriptInterpreter.cpp
@@ -29,10 +29,12 @@ using namespace lldb_private;
ScriptInterpreter::ScriptInterpreter(
Debugger &debugger, lldb::ScriptLanguage script_lang,
- lldb::ScriptedProcessInterfaceUP scripted_process_interface_up)
+ lldb::ScriptedProcessInterfaceUP scripted_process_interface_up,
+ lldb::ScriptedPlatformInterfaceUP scripted_platform_interface_up)
: m_debugger(debugger), m_script_lang(script_lang),
- m_scripted_process_interface_up(
- std::move(scripted_process_interface_up)) {}
+ m_scripted_process_interface_up(std::move(scripted_process_interface_up)),
+ m_scripted_platform_interface_up(
+ std::move(scripted_platform_interface_up)) {}
void ScriptInterpreter::CollectDataForBreakpointCommandCallback(
std::vector<std::reference_wrapper<BreakpointOptions>> &bp_options_vec,