File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -748,24 +748,13 @@ void DWARFRewriter::updateDebugInfo() {
748
748
CUOffsetMap OffsetMap =
749
749
finalizeTypeSections (DIEBlder, *Streamer, GDBIndexSection);
750
750
751
- const bool SingleThreadedMode = true ;
752
- if (!SingleThreadedMode)
753
- DIEBlder.buildCompileUnits ();
754
- if (SingleThreadedMode) {
755
751
CUPartitionVector PartVec = partitionCUs (*BC.DwCtx );
756
752
for (std::vector<DWARFUnit *> &Vec : PartVec) {
757
753
DIEBlder.buildCompileUnits (Vec);
758
754
for (DWARFUnit *CU : DIEBlder.getProcessedCUs ())
759
755
processUnitDIE (CU, &DIEBlder);
760
756
finalizeCompileUnits (DIEBlder, *Streamer, OffsetMap,
761
757
DIEBlder.getProcessedCUs (), *FinalAddrWriter);
762
- }
763
- } else {
764
- // Update unit debug info in parallel
765
- ThreadPoolInterface &ThreadPool = ParallelUtilities::getThreadPool ();
766
- for (std::unique_ptr<DWARFUnit> &CU : BC.DwCtx ->compile_units ())
767
- ThreadPool.async (processUnitDIE, CU.get (), &DIEBlder);
768
- ThreadPool.wait ();
769
758
}
770
759
771
760
DebugNamesTable.emitAccelTable ();
You can’t perform that action at this time.
0 commit comments