[llvm] [llvm-dwarfdump] Make --verify for .debug_names multithreaded. (PR #127281)

Greg Clayton via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 20 12:00:32 PST 2025


================
@@ -775,7 +780,7 @@ static bool handleBuffer(StringRef Filename, MemoryBufferRef Buffer,
     if (filterArch(*Obj)) {
       std::unique_ptr<DWARFContext> DICtx = DWARFContext::create(
           *Obj, DWARFContext::ProcessDebugRelocations::Process, nullptr, "",
-          RecoverableErrorHandler);
+          RecoverableErrorHandler, WithColor::defaultWarningHandler, true);
----------------
clayborg wrote:

change `true` to `/*ThreadSafe=*/true`

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


More information about the llvm-commits mailing list