[lldb/Interpreter] Make ScriptedProcessInfo more generic
This patch moves the ScriptedProcessInfo class out of the ScriptedProcess and hoist it as a standalone interpreter class, so it can be reused with the Scripted Platform. Differential Revision: https://reviews.llvm.org/D139247 Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
This commit is contained in:
1 parent
c17e40ba52
commit
d9f4d1b048
4 files changed
+62
-35
No files matched your search
@@ -58,8 +58,8 @@ ScriptedThread::Create(ScriptedProcess &process,
|
||||
ExecutionContext exe_ctx(process);
|
||||
StructuredData::GenericSP owned_script_object_sp =
|
||||
scripted_thread_interface->CreatePluginObject(
|
||||
thread_class_name, exe_ctx,
|
||||
process.m_scripted_process_info.GetArgsSP(), script_object);
|
||||
thread_class_name, exe_ctx, process.m_scripted_metadata.GetArgsSP(),
|
||||
script_object);
|
||||
|
||||
if (!owned_script_object_sp)
|
||||
return llvm::createStringError(llvm::inconvertibleErrorCode(),
|
||||
|
||||
Reference in new issue
Block a user