diff options
author | John McCall <rjmccall@apple.com> | 2011-06-22 00:53:57 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-06-22 00:53:57 +0000 |
commit | b5f652e3efdf2976e0bee22ec5606289e901232a (patch) | |
tree | 38615d0a90bf9dd2260395d0f86690026ab399d5 /clang/test | |
parent | 54e3c0f5d96defdd4f2aa1f4ee78e8d35e155835 (diff) | |
download | bcm5719-llvm-b5f652e3efdf2976e0bee22ec5606289e901232a.tar.gz bcm5719-llvm-b5f652e3efdf2976e0bee22ec5606289e901232a.zip |
It is possible to request the nonfragile ABI with -fobjc-abi-version=2;
respect that when deciding whether -objc-exceptions implies the
-fexceptions -cc1 option.
llvm-svn: 133590
Diffstat (limited to 'clang/test')
-rw-r--r-- | clang/test/Driver/darwin-objc-options.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/Driver/darwin-objc-options.m b/clang/test/Driver/darwin-objc-options.m index bc0b12cf55b..50daa72333e 100644 --- a/clang/test/Driver/darwin-objc-options.m +++ b/clang/test/Driver/darwin-objc-options.m @@ -15,5 +15,7 @@ // CHECK-CHECK-I386_ABI2: "-cc1" // CHECK-CHECK-I386_ABI2: -fobjc-nonfragile-abi +// CHECK-CHECK-I386_ABI2: -fobjc-exceptions +// CHECK-CHECK-I386_ABI2: -fexceptions // CHECK-CHECK-I386_ABI2-NOT: -fobjc-dispatch-method // CHECK-CHECK-I386_ABI2: darwin-objc-options |