summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-06-24 18:54:37 +0000
committerChris Lattner <sabre@nondot.org>2009-06-24 18:54:37 +0000
commit70413126b6dbc0a5788f9a14cb227a5badc033d9 (patch)
tree9b3ea811ac4dcd7bc85a3c20f786ebf55b1d8053 /llvm/lib/Target/PowerPC
parent2981dc1742314541394e9e3e59f267ee0a9c7089 (diff)
downloadbcm5719-llvm-70413126b6dbc0a5788f9a14cb227a5badc033d9.tar.gz
bcm5719-llvm-70413126b6dbc0a5788f9a14cb227a5badc033d9.zip
sink dwarf finalization out of each target into AsmPrinter::doFinalization
llvm-svn: 74097
Diffstat (limited to 'llvm/lib/Target/PowerPC')
-rw-r--r--llvm/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp b/llvm/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp
index a77c8134bff..08b0de593d9 100644
--- a/llvm/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp
+++ b/llvm/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp
@@ -746,11 +746,6 @@ bool PPCLinuxAsmPrinter::doFinalization(Module &M) {
I != E; ++I)
printModuleLevelGV(I);
- // TODO
-
- // Emit initial debug information.
- DW->EndModule();
-
return AsmPrinter::doFinalization(M);
}
@@ -1120,10 +1115,6 @@ bool PPCDarwinAsmPrinter::doFinalization(Module &M) {
}
}
-
- // Emit initial debug information.
- DW->EndModule();
-
// Funny Darwin hack: This flag tells the linker that no global symbols
// contain code that falls through to other global symbols (e.g. the obvious
// implementation of multiple entry points). If this doesn't occur, the
OpenPOWER on IntegriCloud