summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-12-06 22:14:48 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-12-06 22:14:48 +0000
commit03073f747e1832801a0435e5d707a924932b93a9 (patch)
tree10db1e20b7d6ab36d64f75222d60ca8502b7538f /llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
parentfb6621ef4bbbf27f51769045de9193e74a6be370 (diff)
downloadbcm5719-llvm-03073f747e1832801a0435e5d707a924932b93a9.tar.gz
bcm5719-llvm-03073f747e1832801a0435e5d707a924932b93a9.zip
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
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp2
1 files changed, 1 insertions, 1 deletions
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<bool> 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);
}
OpenPOWER on IntegriCloud