[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:33 PST 2025


================
@@ -32,7 +33,9 @@ struct DWARFSection;
 
 class OutputCategoryAggregator {
 private:
+  std::mutex WriteMutex;
   std::map<std::string, unsigned> Aggregation;
+  unsigned NumErrors = 0;
----------------
clayborg wrote:

I would use `uint64_t` here instead of `unsigned`.

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


More information about the llvm-commits mailing list