[Lldb-commits] [lldb] Fix race condition during iteration through modules (#139283) (PR #139862)

via lldb-commits lldb-commits at lists.llvm.org
Thu May 15 03:15:09 PDT 2025


================
@@ -1510,6 +1510,7 @@ bool Target::IgnoreWatchpointByID(lldb::watch_id_t watch_id,
 }
 
 ModuleSP Target::GetExecutableModule() {
+  std::lock_guard<std::recursive_mutex> guard(m_images.GetMutex());
----------------
neverov-test wrote:

done

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


More information about the lldb-commits mailing list