summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-03-21 00:30:24 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-03-21 00:30:24 +0000
commit2544330a292edfa02a69eae51e2ae096d659dca0 (patch)
treeece2475079ff5b59145cda0c6d1efedace8002e6
parent4543aac96efcfcd316da6d4d9fe97f6edeec7a48 (diff)
downloadbcm5719-llvm-2544330a292edfa02a69eae51e2ae096d659dca0.tar.gz
bcm5719-llvm-2544330a292edfa02a69eae51e2ae096d659dca0.zip
Port test to cfi.
llvm-svn: 204416
-rw-r--r--llvm/test/CodeGen/X86/personality.ll15
1 files changed, 5 insertions, 10 deletions
diff --git a/llvm/test/CodeGen/X86/personality.ll b/llvm/test/CodeGen/X86/personality.ll
index 51be7bce293..424a30734f0 100644
--- a/llvm/test/CodeGen/X86/personality.ll
+++ b/llvm/test/CodeGen/X86/personality.ll
@@ -1,5 +1,5 @@
-; RUN: llc < %s -disable-cfi -mtriple=x86_64-apple-darwin9 -disable-cgp-branch-opts | FileCheck %s -check-prefix=X64
-; RUN: llc < %s -disable-cfi -mtriple=i386-apple-darwin9 -disable-cgp-branch-opts | FileCheck %s -check-prefix=X32
+; RUN: llc < %s -mtriple=x86_64-apple-darwin9 | FileCheck %s -check-prefix=X64
+; RUN: llc < %s -mtriple=i386-apple-darwin9 | FileCheck %s -check-prefix=X32
; PR1632
define void @_Z1fv() {
@@ -41,15 +41,10 @@ declare void @__cxa_end_catch()
declare i32 @__gxx_personality_v0(...)
-; X64: zPLR
-; X64: .byte 155
-; X64-NEXT: .long ___gxx_personality_v0@GOTPCREL+4
+; X64: .cfi_personality 155, ___gxx_personality_v0
+
+; X32: .cfi_personality 155, L___gxx_personality_v0$non_lazy_ptr
; X32: .section __IMPORT,__pointers,non_lazy_symbol_pointers
; X32-NEXT: L___gxx_personality_v0$non_lazy_ptr:
; X32-NEXT: .indirect_symbol ___gxx_personality_v0
-
-; X32: zPLR
-; X32: .byte 155
-; X32-NEXT: :
-; X32-NEXT: .long L___gxx_personality_v0$non_lazy_ptr-
OpenPOWER on IntegriCloud