diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-05-02 15:00:52 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-05-02 15:00:52 +0000 |
| commit | c2aad4f2a312ad44d95af486b85b88c92d2c525e (patch) | |
| tree | b6e2cc40e4dde94e069e74b07bf1a5747feae21f | |
| parent | fe6d9849a1a425e2e87bc8db7292bfa5324aa5bc (diff) | |
| download | bcm5719-llvm-c2aad4f2a312ad44d95af486b85b88c92d2c525e.tar.gz bcm5719-llvm-c2aad4f2a312ad44d95af486b85b88c92d2c525e.zip | |
Move ppc OS X to cfi too. I am building it on an old ppc mini, but it will take some time.
llvm-svn: 130690
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPCMCAsmInfo.cpp | 2 | ||||
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/2008-12-12-EH.ll | 2 | ||||
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/ppc-prologue.ll | 4 |
3 files changed, 3 insertions, 5 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCMCAsmInfo.cpp b/llvm/lib/Target/PowerPC/PPCMCAsmInfo.cpp index d1178dd7e1f..9e508cc9bab 100644 --- a/llvm/lib/Target/PowerPC/PPCMCAsmInfo.cpp +++ b/llvm/lib/Target/PowerPC/PPCMCAsmInfo.cpp @@ -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. diff --git a/llvm/test/CodeGen/PowerPC/2008-12-12-EH.ll b/llvm/test/CodeGen/PowerPC/2008-12-12-EH.ll index 2315e36ff46..a2a5e9e3964 100644 --- a/llvm/test/CodeGen/PowerPC/2008-12-12-EH.ll +++ b/llvm/test/CodeGen/PowerPC/2008-12-12-EH.ll @@ -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: diff --git a/llvm/test/CodeGen/PowerPC/ppc-prologue.ll b/llvm/test/CodeGen/PowerPC/ppc-prologue.ll index 2ebfd3c319f..553837121a3 100644 --- a/llvm/test/CodeGen/PowerPC/ppc-prologue.ll +++ b/llvm/test/CodeGen/PowerPC/ppc-prologue.ll @@ -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] |

