================
@@ -114,23 +142,27 @@ ScriptedFrame::Create(ThreadSP thread_sp,
else
reg_ctx_sp = *regs_or_err;
- return std::make_shared<ScriptedFrame>(thread_sp, scripted_frame_interface,
- frame_id, pc, sc, reg_ctx_sp,
- owned_script_object_sp);
+ return std::make_shared<ScriptedFrame>(
+ thread_sp, scripted_frame_interface, frame_id, pc, sc, reg_ctx_sp,
+ owned_script_object_sp, variable_list_sp,
+ maybe_variables.value_or(nullptr));
}
ScriptedFrame::ScriptedFrame(ThreadSP thread_sp,
ScriptedFrameInterfaceSP interface_sp,
lldb::user_id_t id, lldb::addr_t pc,
SymbolContext &sym_ctx,
lldb::RegisterContextSP reg_ctx_sp,
- StructuredData::GenericSP script_object_sp)
+ StructuredData::GenericSP script_object_sp,
+ lldb::VariableListSP variables_sp,
+ lldb::ValueObjectListSP values_sp)
----------------
medismailben wrote:
I'd rather not cache the variable list here since a script may provide more or
different variables based on where we are stopped.
https://github.com/llvm/llvm-project/pull/178575
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits