[Lldb-commits] [lldb] [lldb] Consolidate ScriptedThreadPlan state into ScriptedMetadata (PR #199064)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Thu May 21 10:52:37 PDT 2026


================
@@ -897,8 +897,13 @@ SBError SBThread::StepUsingScriptedThreadPlan(const char *script_class_name,
   Status new_plan_status;
   StructuredData::ObjectSP obj_sp = args_data.m_impl_up->GetObjectSP();
 
+  StructuredData::DictionarySP args_dict_sp;
+  if (obj_sp && obj_sp->GetType() == lldb::eStructuredDataTypeDictionary)
+    args_dict_sp = std::static_pointer_cast<StructuredData::Dictionary>(obj_sp);
----------------
bulbazord wrote:

Looks like you're tightening up the allowed kinds of StructuredData here too, like in the previous PR?

https://github.com/llvm/llvm-project/pull/199064


More information about the lldb-commits mailing list