diff options
author | Anders Carlsson <andersca@mac.com> | 2011-02-22 01:52:06 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2011-02-22 01:52:06 +0000 |
commit | 3320e1575fc905fd36ef9b575b0ed6094a4effcf (patch) | |
tree | 07cb2d142e6687b5a96740325a16f28d2a9b7478 /clang/test/CodeGenObjC/gnu-exceptions.m | |
parent | 919772fd5da9948b7c54cea7408cd3c9fa512a74 (diff) | |
download | bcm5719-llvm-3320e1575fc905fd36ef9b575b0ed6094a4effcf.tar.gz bcm5719-llvm-3320e1575fc905fd36ef9b575b0ed6094a4effcf.zip |
Make clang -cc1 disable Objective-C exceptions by default, and add a -fobjc-exceptions flag to turn them on.
Update all tests accordingly.
llvm-svn: 126177
Diffstat (limited to 'clang/test/CodeGenObjC/gnu-exceptions.m')
-rw-r--r-- | clang/test/CodeGenObjC/gnu-exceptions.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenObjC/gnu-exceptions.m b/clang/test/CodeGenObjC/gnu-exceptions.m index 6790a299375..7f3ae9df467 100644 --- a/clang/test/CodeGenObjC/gnu-exceptions.m +++ b/clang/test/CodeGenObjC/gnu-exceptions.m @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -emit-llvm -fexceptions -fgnu-runtime -o - %s | FileCheck %s +// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -emit-llvm -fexceptions -fobjc-exceptions -fgnu-runtime -o - %s | FileCheck %s void opaque(void); void log(int i); |