diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-04-30 22:29:54 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-04-30 22:29:54 +0000 |
commit | 5265bc483ee52cc9422c104205350a1161567df6 (patch) | |
tree | b46ce05a085cd5ec2e5fbf1cfd34240ea853794e /llvm/test/CodeGen/X86/2007-09-17-ObjcFrameEH.ll | |
parent | ed5ca78dc5cdc1838c208502fdd7628d488e6414 (diff) | |
download | bcm5719-llvm-5265bc483ee52cc9422c104205350a1161567df6.tar.gz bcm5719-llvm-5265bc483ee52cc9422c104205350a1161567df6.zip |
Enable CFI on OS X.
Currently the output should be almost identical to the one produced by CodeGen
to make the transition easier.
The only two differences I know of are:
* Some files get an extra advance loc of size 0. This will be fixed when
relaxations are enabled.
* The optimization of declaring an EH symbol as an external variable is not
implemented. This is a subset of adding the nounwind attribute, so we if really
this at -O0 we should probably do it at the IL level.
llvm-svn: 130623
Diffstat (limited to 'llvm/test/CodeGen/X86/2007-09-17-ObjcFrameEH.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/2007-09-17-ObjcFrameEH.ll | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/2007-09-17-ObjcFrameEH.ll b/llvm/test/CodeGen/X86/2007-09-17-ObjcFrameEH.ll index c3403a0b4ee..1e43272a84e 100644 --- a/llvm/test/CodeGen/X86/2007-09-17-ObjcFrameEH.ll +++ b/llvm/test/CodeGen/X86/2007-09-17-ObjcFrameEH.ll @@ -1,4 +1,6 @@ -; RUN: llc < %s -march=x86 -mtriple=i686-apple-darwin | grep {isNullOrNil].eh"} | count 2 +; RUN: llc < %s -disable-cfi -march=x86 -mtriple=i686-apple-darwin | grep {isNullOrNil].eh"} | FileCheck %s + +; CHECK: "_-[NSString(local) isNullOrNil].eh": %struct.NSString = type { } %struct._objc__method_prototype_list = type opaque |