[lldb] Update ScriptInterpreterLua::LoadScriptingModule

Update the ScriptInterpreterLua::LoadScriptingModule signature after the
TargetSP argument was added in #133290.
This commit is contained in:
Jonas Devlieghere 2025-04-01 22:12:09 -07:00
parent f1025c0e87
commit 28b300d546
No known key found for this signature in database
GPG Key ID: 49CC0BD90FDEED4D
2 changed files with 3 additions and 2 deletions

View File

@ -228,7 +228,7 @@ void ScriptInterpreterLua::ExecuteInterpreterLoop() {
bool ScriptInterpreterLua::LoadScriptingModule(
const char *filename, const LoadScriptOptions &options,
lldb_private::Status &error, StructuredData::ObjectSP *module_sp,
FileSpec extra_search_dir) {
FileSpec extra_search_dir, lldb::TargetSP loaded_into_target_sp) {
if (llvm::Error e = m_lua->LoadModule(filename)) {
error = Status::FromErrorStringWithFormatv(

View File

@ -47,7 +47,8 @@ public:
const LoadScriptOptions &options,
lldb_private::Status &error,
StructuredData::ObjectSP *module_sp = nullptr,
FileSpec extra_search_dir = {}) override;
FileSpec extra_search_dir = {},
lldb::TargetSP loaded_into_target_sp = {}) override;
StructuredData::DictionarySP GetInterpreterInfo() override;