[Lldb-commits] [PATCH] D117071: [lldb/Plugins] Add support of multiple ScriptedThreads in a ScriptedProcess

Med Ismail Bennani via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jan 12 12:49:37 PST 2022


mib added inline comments.


================
Comment at: lldb/source/Plugins/Process/scripted/ScriptedThread.cpp:51
+  if (script_object)
+    instance_obj = script_object->GetValue();
+
----------------
Instead of re-assigning `m_script_object_sp` with `script_object` directly, we get the python object ptr and pass it to `CreatePluginObject` that will create a new `StructuredData::GenericSP` holding that ref.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D117071/new/

https://reviews.llvm.org/D117071



More information about the lldb-commits mailing list