[llvm] [BOLT] fix race condition in multi-threaded DWO type unit processing (PR #197359)
Alexander Yermolovich via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 1 19:57:34 PDT 2026
================
@@ -284,12 +285,18 @@ class BinaryContext {
/// Internal helper for removing section name from a lookup table.
void deregisterSectionName(const BinarySection &Section);
+ /// Mutex used for parallel processing of DWP type units.
+ mutable std::mutex DWPUnitsMutex;
----------------
ayermolo wrote:
I don't think mutable is necessary here.
https://github.com/llvm/llvm-project/pull/197359
More information about the llvm-commits
mailing list