diff options
author | Chris Lattner <sabre@nondot.org> | 2009-06-24 18:54:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-06-24 18:54:37 +0000 |
commit | 1f522feabf25134249bc7894e04f5b89fa071b7f (patch) | |
tree | a3105cf3b21aa114a66fa2b31b9bf3a0f8dec92f /lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp | |
parent | 0a7befa8bd56621f51eaf9196417b866962bf7b1 (diff) | |
download | external_llvm-1f522feabf25134249bc7894e04f5b89fa071b7f.zip external_llvm-1f522feabf25134249bc7894e04f5b89fa071b7f.tar.gz external_llvm-1f522feabf25134249bc7894e04f5b89fa071b7f.tar.bz2 |
sink dwarf finalization out of each target into AsmPrinter::doFinalization
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74097 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp')
-rw-r--r-- | lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp b/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp index fcc30c1..b4616cd 100644 --- a/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp +++ b/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp @@ -1118,18 +1118,12 @@ bool ARMAsmPrinter::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 // linker can safely perform dead code stripping. Since LLVM never // generates code that does this, it is always safe to set. O << "\t.subsections_via_symbols\n"; - } else { - // Emit final debug information for ELF. - DW->EndModule(); } return AsmPrinter::doFinalization(M); |