diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-04 23:10:38 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-04 23:10:38 +0000 |
commit | 4ad1efec925f36cb5ab461fc3c7e40baaf70ae1a (patch) | |
tree | 835c067238aba5761b4978506331d0d2a1f2f19e /lib/CodeGen/AsmPrinter/DwarfDebug.cpp | |
parent | a33b2a1ee6f8d544571ec4a9be819292f6bf315c (diff) |
I was wrong, ocaml isn't referencing 'Ldata_begin', so remove it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100365 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 17ffe8fad9..977ab1210d 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -305,12 +305,8 @@ DwarfDebug::DwarfDebug(AsmPrinter *A) CurrentFnDbgScope(0), DebugTimer(0) { NextStringPoolNumber = 0; - DwarfFrameSectionSym = 0; - DwarfInfoSectionSym = 0; - DwarfAbbrevSectionSym = 0; - DwarfStrSectionSym = 0; - TextSectionSym = 0; - DataSectionSym = 0; + DwarfFrameSectionSym = DwarfInfoSectionSym = DwarfAbbrevSectionSym = 0; + DwarfStrSectionSym = TextSectionSym = 0; if (TimePassesIsEnabled) DebugTimer = new Timer("Dwarf Debug Writer"); @@ -2485,9 +2481,7 @@ void DwarfDebug::EmitSectionLabels() { EmitSectionSym(Asm, TLOF.getDwarfRangesSection()); TextSectionSym = EmitSectionSym(Asm, TLOF.getTextSection(), "text_begin"); - - // This is subtly used by the ocaml GC stuff. - DataSectionSym = EmitSectionSym(Asm, TLOF.getDataSection(), "data_begin"); + EmitSectionSym(Asm, TLOF.getDataSection()); } /// emitDIE - Recusively Emits a debug information entry. |