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

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to