From 03073f747e1832801a0435e5d707a924932b93a9 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Fri, 6 Dec 2013 22:14:48 +0000 Subject: DebugInfo: Include the section and start-of-section label in the unit This is a precursor to moving type units into the correct (debug_types) section with comdat groups and full type unit headers. llvm-svn: 196615 --- llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp') diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp index 8760335bcff..40b7476f4bd 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp @@ -41,7 +41,7 @@ static cl::opt GenerateTypeUnits("generate-type-units", cl::Hidden, Unit::Unit(unsigned UID, DIE *D, DICompileUnit Node, AsmPrinter *A, DwarfDebug *DW, DwarfFile *DWU) : UniqueID(UID), Node(Node), UnitDie(D), DebugInfoOffset(0), Asm(A), DD(DW), - DU(DWU), IndexTyDie(0) { + DU(DWU), IndexTyDie(0), Section(0) { DIEIntegerOne = new (DIEValueAllocator) DIEInteger(1); } -- cgit v1.2.3