diff options
author | Jim Laskey <jlaskey@mac.com> | 2006-06-23 12:51:53 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2006-06-23 12:51:53 +0000 |
commit | 89d67faf30ed1a8b5364f53c9a0f5e07a9a0719c (patch) | |
tree | 7ad677adaa15e302a762b79b0fa731b7ec813c9d /lib/Target/PowerPC | |
parent | 52b510b4c4f36f58c4aa37a1f835eb95e89e0adb (diff) | |
download | external_llvm-89d67faf30ed1a8b5364f53c9a0f5e07a9a0719c.zip external_llvm-89d67faf30ed1a8b5364f53c9a0f5e07a9a0719c.tar.gz external_llvm-89d67faf30ed1a8b5364f53c9a0f5e07a9a0719c.tar.bz2 |
Add and sort "sections" in debug lines. This always stepping through
code in sections other than ".text", including weak sections like ctors and
dtors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28909 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC')
-rw-r--r-- | lib/Target/PowerPC/PPCAsmPrinter.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Target/PowerPC/PPCAsmPrinter.cpp b/lib/Target/PowerPC/PPCAsmPrinter.cpp index 108f03d..c4f19fe 100644 --- a/lib/Target/PowerPC/PPCAsmPrinter.cpp +++ b/lib/Target/PowerPC/PPCAsmPrinter.cpp @@ -489,8 +489,6 @@ void PPCAsmPrinter::printMachineInstruction(const MachineInstr *MI) { /// bool DarwinAsmPrinter::runOnMachineFunction(MachineFunction &MF) { DW.SetDebugInfo(&getAnalysis<MachineDebugInfo>()); - // FIXME - should be able to debug coalesced functions. - bool IsNormalText = true; SetupMachineFunction(MF); O << "\n\n"; @@ -518,14 +516,13 @@ bool DarwinAsmPrinter::runOnMachineFunction(MachineFunction &MF) { ".section __TEXT,__textcoal_nt,coalesced,pure_instructions", F); O << "\t.globl\t" << CurrentFnName << "\n"; O << "\t.weak_definition\t" << CurrentFnName << "\n"; - IsNormalText = false; break; } EmitAlignment(4, F); O << CurrentFnName << ":\n"; // Emit pre-function debug information. - DW.BeginFunction(&MF, IsNormalText); + DW.BeginFunction(&MF); // Print out code for the function. for (MachineFunction::const_iterator I = MF.begin(), E = MF.end(); |