wallace accepted this revision.
wallace added a comment.
This revision is now accepted and ready to land.

great!



================
Comment at: lldb/source/API/SBInstruction.cpp:176
+    if (target_sp) {
+      lock = std::unique_lock<std::recursive_mutex>(target_sp->GetAPIMutex());
+
----------------
this might be potentially expensive. If this slows traversals down, eventually 
we can create an unsafe version of this method that avoids mutexes but is 
faster.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131005

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

Reply via email to