mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-28 07:05:03 +00:00
Move ppc OS X to cfi too. I am building it on an old ppc mini, but it will take some time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130690 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
79142427a0
commit
433771c514
@ -17,7 +17,7 @@ using namespace llvm;
|
||||
PPCMCAsmInfoDarwin::PPCMCAsmInfoDarwin(bool is64Bit) {
|
||||
PCSymbol = ".";
|
||||
CommentString = ";";
|
||||
ExceptionsType = ExceptionHandling::DwarfTable;
|
||||
ExceptionsType = ExceptionHandling::DwarfCFI;
|
||||
|
||||
if (!is64Bit)
|
||||
Data64bitsDirective = 0; // We can't emit a 64-bit unit in PPC32 mode.
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin9 | grep ^__Z1fv.eh
|
||||
; RUN: llc < %s -disable-cfi -march=ppc32 -mtriple=powerpc-apple-darwin9 | grep ^__Z1fv.eh
|
||||
|
||||
define void @_Z1fv() {
|
||||
entry:
|
||||
|
@ -5,9 +5,7 @@ define i32 @_Z4funci(i32 %a) ssp {
|
||||
; CHECK-NEXT: stw r31, -4(r1)
|
||||
; CHECK-NEXT: stw r0, 8(r1)
|
||||
; CHECK-NEXT: stwu r1, -80(r1)
|
||||
; CHECK-NEXT: Ltmp0:
|
||||
; CHECK-NEXT: mr r31, r1
|
||||
; CHECK-NEXT: Ltmp1:
|
||||
; CHECK: mr r31, r1
|
||||
entry:
|
||||
%a_addr = alloca i32 ; <i32*> [#uses=2]
|
||||
%retval = alloca i32 ; <i32*> [#uses=2]
|
||||
|
Loading…
Reference in New Issue
Block a user