[Lldb-commits] [lldb] [lldb] Guard SBFrame/SBThread methods against running processes (PR #152020)

Felipe de Azevedo Piovezan via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 6 07:48:05 PDT 2025


================
@@ -125,19 +126,43 @@ ExecutionContext::ExecutionContext(const ExecutionContextRef *exe_ctx_ref_ptr,
   }
 }
 
-ExecutionContext::ExecutionContext(const ExecutionContextRef *exe_ctx_ref_ptr,
-                                   std::unique_lock<std::recursive_mutex> &lock)
+ExecutionContext::ExecutionContext(
----------------
felipepiovezan wrote:

Please have a look at my early top level comment about this constructor.
It doesn't really fail, so we can't return an expected.

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


More information about the lldb-commits mailing list