[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:33 PDT 2026
================
@@ -444,7 +444,7 @@ RewriteInstance::RewriteInstance(ELFObjectFileBase *File, const int Argc,
DWARFContext::create(*File, DWARFContext::ProcessDebugRelocations::Ignore,
nullptr, opts::DWPPathName,
WithColor::defaultErrorHandler,
- WithColor::defaultWarningHandler),
+ WithColor::defaultWarningHandler, true),
----------------
ayermolo wrote:
Should this be part of this PR or [a different one?](https://github.com/llvm/llvm-project/pull/197859)? I thought you mentioned enabling safe context doesn't help in this particular case.
https://github.com/llvm/llvm-project/pull/197359
More information about the llvm-commits
mailing list