diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-08-18 08:52:48 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-08-18 08:52:48 +0000 |
commit | 426a19c7f371d125ec57a38d4954e4d4d4f78372 (patch) | |
tree | 61ff08ae4e2bb0a84a1096a1a0372f1afdc8006d /lib/Target/ARM | |
parent | 478993815335b6a1ccc49553a05d9963afebd319 (diff) | |
download | external_llvm-426a19c7f371d125ec57a38d4954e4d4d4f78372.zip external_llvm-426a19c7f371d125ec57a38d4954e4d4d4f78372.tar.gz external_llvm-426a19c7f371d125ec57a38d4954e4d4d4f78372.tar.bz2 |
ARM asm printer can't handle dwarf info yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54913 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM')
-rw-r--r-- | lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp b/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp index 2ab8b63..e7e8f27 100644 --- a/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp +++ b/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp @@ -231,7 +231,8 @@ bool ARMAsmPrinter::runOnMachineFunction(MachineFunction &MF) { O << CurrentFnName << ":\n"; // Emit pre-function debug information. - DW.BeginFunction(&MF); + // FIXME: Dwarf support. + //DW.BeginFunction(&MF); if (Subtarget->isTargetDarwin()) { // If the function is empty, then we need to emit *something*. Otherwise, @@ -262,7 +263,8 @@ bool ARMAsmPrinter::runOnMachineFunction(MachineFunction &MF) { O << "\t.size " << CurrentFnName << ", .-" << CurrentFnName << "\n"; // Emit post-function debug information. - DW.EndFunction(); + // FIXME: Dwarf support. + //DW.EndFunction(); return false; } @@ -802,14 +804,16 @@ void ARMAsmPrinter::printMachineInstruction(const MachineInstr *MI) { bool ARMAsmPrinter::doInitialization(Module &M) { // Emit initial debug information. - DW.BeginModule(&M); + // FIXME: Dwarf support. + //DW.BeginModule(&M); bool Result = AsmPrinter::doInitialization(M); // AsmPrinter::doInitialization should have done this analysis. MMI = getAnalysisToUpdate<MachineModuleInfo>(); assert(MMI); - DW.SetModuleInfo(MMI); + // FIXME: Dwarf support. + //DW.SetModuleInfo(MMI); // Darwin wants symbols to be quoted if they have complex names. if (Subtarget->isTargetDarwin()) @@ -1003,7 +1007,8 @@ bool ARMAsmPrinter::doFinalization(Module &M) { } // Emit initial debug information. - DW.EndModule(); + // FIXME: Dwarf support. + //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 @@ -1013,7 +1018,8 @@ bool ARMAsmPrinter::doFinalization(Module &M) { O << "\t.subsections_via_symbols\n"; } else { // Emit final debug information for ELF. - DW.EndModule(); + // FIXME: Dwarf support. + //DW.EndModule(); } return AsmPrinter::doFinalization(M); |