[llvm] [BOLT][DWARF][NFC] Split DIEBuilder::finish (PR #101244)

Alexander Yermolovich via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 31 07:31:50 PDT 2024


================
@@ -742,6 +741,7 @@ void DWARFRewriter::updateDebugInfo() {
   CUPartitionVector PartVec = partitionCUs(*BC.DwCtx);
   for (std::vector<DWARFUnit *> &Vec : PartVec) {
     DIEBlder.buildCompileUnits(Vec);
+    llvm::SmallVector<std::unique_ptr<DIEBuilder>> DWODIEBuildersByCU;
----------------
ayermolo wrote:

Init size to something reasonable.

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


More information about the llvm-commits mailing list