[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
================
@@ -744,9 +754,12 @@ void DWARFRewriter::updateDebugInfo() {
*DWODIEBuildersByCU.emplace_back(std::move(DWODIEBuilderPtr)).get();
if (CU->getVersion() >= 5)
StrOffstsWriter->finalizeSection(*CU, DIEBlder);
- processSplitCU(*CU, **SplitCU, DIEBlder, *TempRangesSectionWriter,
- AddressWriter, DWOName, DwarfOutputPath, DWODIEBuilder);
+ ThreadPool.async([&, DwarfOutputPath, DWOName, CU, SplitCU] {
----------------
ayermolo wrote:
Why are we capturing and passing these?
https://github.com/llvm/llvm-project/pull/100282
More information about the llvm-commits
mailing list