[llvm-commits] [llvm] r100365 - in /llvm/trunk/lib/CodeGen/AsmPrinter: DwarfDebug.cpp DwarfDebug.h
Chris Lattner
sabre at nondot.org
Sun Apr 4 16:10:38 PDT 2010
Author: lattner
Date: Sun Apr 4 18:10:38 2010
New Revision: 100365
URL: http://llvm.org/viewvc/llvm-project?rev=100365&view=rev
Log:
I was wrong, ocaml isn't referencing 'Ldata_begin', so remove it.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp?rev=100365&r1=100364&r2=100365&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Sun Apr 4 18:10:38 2010
@@ -305,12 +305,8 @@
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 @@
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.
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h?rev=100365&r1=100364&r2=100365&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h Sun Apr 4 18:10:38 2010
@@ -210,7 +210,7 @@
// the beginning of each supported dwarf section. These are used to form
// section offsets and are created by EmitSectionLabels.
MCSymbol *DwarfFrameSectionSym, *DwarfInfoSectionSym, *DwarfAbbrevSectionSym;
- MCSymbol *DwarfStrSectionSym, *TextSectionSym, *DataSectionSym;
+ MCSymbol *DwarfStrSectionSym, *TextSectionSym;
private:
More information about the llvm-commits
mailing list