summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-07-23 21:56:41 +0000
committerJohn McCall <rjmccall@apple.com>2010-07-23 21:56:41 +0000
commitad5d61e227c9879227c5bf9a6c82bbb5fdd5a7b0 (patch)
tree29d8194fe3b19f712530cae4fe382ddcb6aba541 /clang/test/CodeGenObjC
parent946274471da40720baae5e510d2df90854973c01 (diff)
downloadbcm5719-llvm-ad5d61e227c9879227c5bf9a6c82bbb5fdd5a7b0.tar.gz
bcm5719-llvm-ad5d61e227c9879227c5bf9a6c82bbb5fdd5a7b0.zip
Revise cleanup IR generation to fix a major bug with cleanups (PR7686)
as well as some significant asymptotic inefficiencies with threading multiple jumps through deep cleanups. llvm-svn: 109274
Diffstat (limited to 'clang/test/CodeGenObjC')
-rw-r--r--clang/test/CodeGenObjC/gnu-exceptions.m8
1 files changed, 6 insertions, 2 deletions
diff --git a/clang/test/CodeGenObjC/gnu-exceptions.m b/clang/test/CodeGenObjC/gnu-exceptions.m
index 190a2b8d4e4..6790a299375 100644
--- a/clang/test/CodeGenObjC/gnu-exceptions.m
+++ b/clang/test/CodeGenObjC/gnu-exceptions.m
@@ -10,16 +10,20 @@ void test0() {
@try {
// CHECK: invoke void @opaque()
opaque();
+
+ // CHECK: call void @log(i32 1)
+
} @catch (C *c) {
// CHECK: call i8* @llvm.eh.exception()
// CHECK: call i32 (i8*, i8*, ...)* @llvm.eh.selector({{.*}} @__gnu_objc_personality_v0
// CHECK: br i1
- // CHECK: call void @objc_exception_throw
// CHECK: call void @log(i32 0)
+
+ // CHECK: call void @objc_exception_throw
+
log(0);
}
- // CHECK: call void @log(i32 1)
log(1);
}
OpenPOWER on IntegriCloud