mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-16 16:56:35 +00:00
[lldb] Update ScriptInterpreterLua::LoadScriptingModule
Update the ScriptInterpreterLua::LoadScriptingModule signature after the TargetSP argument was added in #133290.
This commit is contained in:
parent
f1025c0e87
commit
28b300d546
@ -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(
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user