summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-04 23:10:38 +0000
committerChris Lattner <sabre@nondot.org>2010-04-04 23:10:38 +0000
commite58b547460f540b71b362ac7f42a956cebb705a8 (patch)
treea926375dfb53eb96e2349c9da1d592e817f4197b /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
parent0d3f3bdd3c6db44a1e4abee1a13c8e02c7b81d86 (diff)
downloadbcm5719-llvm-e58b547460f540b71b362ac7f42a956cebb705a8.tar.gz
bcm5719-llvm-e58b547460f540b71b362ac7f42a956cebb705a8.zip
I was wrong, ocaml isn't referencing 'Ldata_begin', so remove it.
llvm-svn: 100365
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 17ffe8fad97..977ab1210d5 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud