[llvm] [LLVM][DWARF] Add support for monolithic types in .debug_names (PR #70515)
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 30 13:58:00 PDT 2023
================
@@ -83,11 +83,13 @@ DwarfUnit::DwarfUnit(dwarf::Tag UnitTag, const DICompileUnit *Node,
AsmPrinter *A, DwarfDebug *DW, DwarfFile *DWU)
: DIEUnit(UnitTag), CUNode(Node), Asm(A), DD(DW), DU(DWU) {}
+unsigned DwarfTypeUnit::UniqueID = 0;
----------------
dwblaikie wrote:
global state like this isn't workable in LLVM as it may be used as a library - we'll need some other way to track this numbering
https://github.com/llvm/llvm-project/pull/70515
More information about the llvm-commits
mailing list