[llvm] [BOLT][DWARF][NFC] Add parallelization for processing of DWO debug information (PR #100282)

Alexander Yermolovich via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 7 15:09:11 PDT 2024


================
@@ -719,6 +725,10 @@ void DWARFRewriter::updateDebugInfo() {
   for (std::vector<DWARFUnit *> &Vec : PartVec) {
     DIEBlder.buildCompileUnits(Vec);
     llvm::SmallVector<std::unique_ptr<DIEBuilder>, 72> DWODIEBuildersByCU;
+    const unsigned int ThreadCount =
----------------
ayermolo wrote:

This can be moved outside of the loop.

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


More information about the llvm-commits mailing list