Changes in directory llvm/lib/Target/X86:
X86ATTAsmPrinter.cpp updated: 1.51 -> 1.52 --- Log message: Add and sort "sections" in debug lines. This always stepping through code in sections other than ".text", including weak sections like ctors and dtors. --- Diffs of the changes: (+1 -4) X86ATTAsmPrinter.cpp | 5 +---- 1 files changed, 1 insertion(+), 4 deletions(-) Index: llvm/lib/Target/X86/X86ATTAsmPrinter.cpp diff -u llvm/lib/Target/X86/X86ATTAsmPrinter.cpp:1.51 llvm/lib/Target/X86/X86ATTAsmPrinter.cpp:1.52 --- llvm/lib/Target/X86/X86ATTAsmPrinter.cpp:1.51 Wed Jun 14 06:35:03 2006 +++ llvm/lib/Target/X86/X86ATTAsmPrinter.cpp Fri Jun 23 07:51:53 2006 @@ -29,8 +29,6 @@ // Let PassManager know we need debug information and relay // the MachineDebugInfo address on to DwarfWriter. DW.SetDebugInfo(&getAnalysis<MachineDebugInfo>()); - // FIXME - should be able to debug coalesced functions. - bool IsNormalText = true; SetupMachineFunction(MF); O << "\n\n"; @@ -74,14 +72,13 @@ SwitchToTextSection("", F); O << "\t.weak " << CurrentFnName << "\n"; } - IsNormalText = false; break; } O << CurrentFnName << ":\n"; if (Subtarget->TargetType == X86Subtarget::isDarwin) { // Emit pre-function debug information. - DW.BeginFunction(&MF, IsNormalText); + DW.BeginFunction(&MF); } // Print out code for the function. _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits