diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-03-21 00:30:24 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-03-21 00:30:24 +0000 |
commit | fab1a40a7b6133dec43fc9de7a6a36c7c719ed30 (patch) | |
tree | 06e2c26a997841f728ea6e651a100076faf81df4 | |
parent | aeb12e91d1e97ce10ce51d8b7501d63e79598e48 (diff) | |
download | llvm-fab1a40a7b6133dec43fc9de7a6a36c7c719ed30.tar.gz llvm-fab1a40a7b6133dec43fc9de7a6a36c7c719ed30.tar.bz2 llvm-fab1a40a7b6133dec43fc9de7a6a36c7c719ed30.tar.xz |
Port test to cfi.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204416 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/X86/personality.ll | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/test/CodeGen/X86/personality.ll b/test/CodeGen/X86/personality.ll index 51be7bce29..424a30734f 100644 --- a/test/CodeGen/X86/personality.ll +++ b/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- |