[llvm] r221079 - Be sure to initialize DwarfCompileUnit::LabelBegin now that it may be skipped in initSection
David Blaikie
dblaikie at gmail.com
Sat Nov 1 19:40:26 PDT 2014
Author: dblaikie
Date: Sat Nov 1 21:40:26 2014
New Revision: 221079
URL: http://llvm.org/viewvc/llvm-project?rev=221079&view=rev
Log:
Be sure to initialize DwarfCompileUnit::LabelBegin now that it may be skipped in initSection
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp?rev=221079&r1=221078&r2=221079&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp Sat Nov 1 21:40:26 2014
@@ -19,7 +19,7 @@ DwarfCompileUnit::DwarfCompileUnit(unsig
AsmPrinter *A, DwarfDebug *DW,
DwarfFile *DWU)
: DwarfUnit(UID, dwarf::DW_TAG_compile_unit, Node, A, DW, DWU),
- Skeleton(nullptr) {
+ Skeleton(nullptr), LabelBegin(nullptr) {
insertDIE(Node, &getUnitDie());
}
More information about the llvm-commits
mailing list