diff options
author | John McCall <rjmccall@apple.com> | 2011-10-02 01:16:38 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-10-02 01:16:38 +0000 |
commit | 9b0a7cea0f5bb2d3197ff33734cc5411ea793e10 (patch) | |
tree | 05a913f75b0005e1579e7aded642c5d37627afac /clang/test/CodeGenObjC/attr-availability.m | |
parent | 2a14c695eb02777f93882f55a632de053614bca7 (diff) | |
download | bcm5719-llvm-9b0a7cea0f5bb2d3197ff33734cc5411ea793e10.tar.gz bcm5719-llvm-9b0a7cea0f5bb2d3197ff33734cc5411ea793e10.zip |
Make -fobjc-nonfragile-abi the -cc1 default, since it's the
increasingly prevailing case to the point that new features
like ARC don't even support the fragile ABI anymore.
This required a little bit of reshuffling with exceptions
because a check was assuming that ObjCNonFragileABI was
only being set in ObjC mode, and that's actually a bit
obnoxious to do.
Most, though, it involved a perl script to translate a ton
of test cases.
Mostly no functionality change for driver users, although
there are corner cases with disabling language-specific
exceptions that we should handle more correctly now.
llvm-svn: 140957
Diffstat (limited to 'clang/test/CodeGenObjC/attr-availability.m')
-rw-r--r-- | clang/test/CodeGenObjC/attr-availability.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/CodeGenObjC/attr-availability.m b/clang/test/CodeGenObjC/attr-availability.m index d2b2973c78d..375a5be4fad 100644 --- a/clang/test/CodeGenObjC/attr-availability.m +++ b/clang/test/CodeGenObjC/attr-availability.m @@ -1,6 +1,6 @@ -// RUN: %clang_cc1 -fvisibility hidden -fobjc-nonfragile-abi "-triple" "x86_64-apple-darwin8.0.0" -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-10_4 %s -// RUN: %clang_cc1 -fvisibility hidden -fobjc-nonfragile-abi "-triple" "x86_64-apple-darwin9.0.0" -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-10_5 %s -// RUN: %clang_cc1 -fvisibility hidden -fobjc-nonfragile-abi "-triple" "x86_64-apple-darwin10.0.0" -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-10_6 %s +// RUN: %clang_cc1 -fvisibility hidden "-triple" "x86_64-apple-darwin8.0.0" -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-10_4 %s +// RUN: %clang_cc1 -fvisibility hidden "-triple" "x86_64-apple-darwin9.0.0" -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-10_5 %s +// RUN: %clang_cc1 -fvisibility hidden "-triple" "x86_64-apple-darwin10.0.0" -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-10_6 %s // CHECK-10_4: @"OBJC_CLASS_$_WeakClass1" = extern_weak global // CHECK-10_5: @"OBJC_CLASS_$_WeakClass1" = external global |