[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp PPCTargetAsmInfo.cpp
Jim Laskey
jlaskey at apple.com
Thu Feb 1 08:32:02 PST 2007
Changes in directory llvm/lib/Target/PowerPC:
PPCRegisterInfo.cpp updated: 1.104 -> 1.105
PPCTargetAsmInfo.cpp updated: 1.16 -> 1.17
---
Log message:
Support for non-landing pad exception handling.
---
Diffs of the changes: (+7 -0)
PPCRegisterInfo.cpp | 4 ++++
PPCTargetAsmInfo.cpp | 3 +++
2 files changed, 7 insertions(+)
Index: llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
diff -u llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:1.104 llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:1.105
--- llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:1.104 Wed Jan 31 18:39:08 2007
+++ llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp Thu Feb 1 10:31:34 2007
@@ -902,6 +902,10 @@
Moves.push_back(MachineMove(FrameLabelId, CSDst, CSSrc));
}
+ MachineLocation LRDst(MachineLocation::VirtualFP, LROffset);
+ MachineLocation LRSrc(IsPPC64 ? PPC::LR8 : PPC::LR);
+ Moves.push_back(MachineMove(FrameLabelId, LRDst, LRSrc));
+
// Mark effective beginning of when frame pointer is ready.
unsigned ReadyLabelId = MMI->NextLabelID();
BuildMI(MBB, MBBI, TII.get(PPC::LABEL)).addImm(ReadyLabelId);
Index: llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
diff -u llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp:1.16 llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp:1.17
--- llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp:1.16 Tue Jan 30 02:04:53 2007
+++ llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp Thu Feb 1 10:31:34 2007
@@ -41,11 +41,14 @@
DwarfARangesSection = ".section __DWARF,__debug_aranges,regular,debug";
DwarfRangesSection = ".section __DWARF,__debug_ranges,regular,debug";
DwarfMacInfoSection = ".section __DWARF,__debug_macinfo,regular,debug";
+ DwarfEHFrameSection =
+ ".section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support";
}
DarwinTargetAsmInfo::DarwinTargetAsmInfo(const PPCTargetMachine &TM)
: PPCTargetAsmInfo(TM)
{
+ PCSymbol = ".";
CommentString = ";";
GlobalPrefix = "_";
PrivateGlobalPrefix = "L";
More information about the llvm-commits
mailing list