[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:51 PDT 2024


================
@@ -539,7 +527,7 @@ void DIEBuilder::finish() {
     // Skipping DWARF4 types.
     if (CU->getVersion() < 5 && CU->isTypeUnit())
       continue;
-    finalizeCU(*CU, UnitSize);
+    finalizeCU(*CU, DebugNamesUnitSize);
----------------
ayermolo wrote:

Shouldn't this be UnitSize and in updateDebugNamesTable DebugNamesUnitSize

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


More information about the llvm-commits mailing list