[Lldb-commits] [lldb] [LLDB] Acquire the module mutex at the start of SetLoadAddress (PR #227149)

Jacob Lalonde via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 29 17:02:29 PDT 2026


================
@@ -1447,6 +1447,7 @@ bool Module::SetArchitecture(const ArchSpec &new_arch) {
 
 bool Module::SetLoadAddress(Target &target, lldb::addr_t value,
                             bool value_is_offset, bool &changed) {
+  std::lock_guard<std::recursive_mutex> guard(m_mutex);
----------------
Jlalond wrote:

Added

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


More information about the lldb-commits mailing list