Skip to content

Commit 28b300d

Browse files
committed
[lldb] Update ScriptInterpreterLua::LoadScriptingModule
Update the ScriptInterpreterLua::LoadScriptingModule signature after the TargetSP argument was added in llvm#133290.
1 parent f1025c0 commit 28b300d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ void ScriptInterpreterLua::ExecuteInterpreterLoop() {
228228
bool ScriptInterpreterLua::LoadScriptingModule(
229229
const char *filename, const LoadScriptOptions &options,
230230
lldb_private::Status &error, StructuredData::ObjectSP *module_sp,
231-
FileSpec extra_search_dir) {
231+
FileSpec extra_search_dir, lldb::TargetSP loaded_into_target_sp) {
232232

233233
if (llvm::Error e = m_lua->LoadModule(filename)) {
234234
error = Status::FromErrorStringWithFormatv(

lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ class ScriptInterpreterLua : public ScriptInterpreter {
4747
const LoadScriptOptions &options,
4848
lldb_private::Status &error,
4949
StructuredData::ObjectSP *module_sp = nullptr,
50-
FileSpec extra_search_dir = {}) override;
50+
FileSpec extra_search_dir = {},
51+
lldb::TargetSP loaded_into_target_sp = {}) override;
5152

5253
StructuredData::DictionarySP GetInterpreterInfo() override;
5354

0 commit comments

Comments
 (0)