summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC/gnu-exceptions.m
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-06-17 20:53:19 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-06-17 20:53:19 +0000
commitfcbdb6ea5888f61e1ca566629c03fa6de0719750 (patch)
tree6eec9f15255c02cdd09e1fe40c355e80ef6fc4c6 /clang/test/CodeGenObjC/gnu-exceptions.m
parent7fddeccb8b4694002e3a2130d4bce07d628b1db2 (diff)
downloadbcm5719-llvm-fcbdb6ea5888f61e1ca566629c03fa6de0719750.tar.gz
bcm5719-llvm-fcbdb6ea5888f61e1ca566629c03fa6de0719750.zip
Update clang to take into account the changes to personality fns
llvm-svn: 239941
Diffstat (limited to 'clang/test/CodeGenObjC/gnu-exceptions.m')
-rw-r--r--clang/test/CodeGenObjC/gnu-exceptions.m5
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/test/CodeGenObjC/gnu-exceptions.m b/clang/test/CodeGenObjC/gnu-exceptions.m
index 82eb6cb7bd5..76e9e1ded3c 100644
--- a/clang/test/CodeGenObjC/gnu-exceptions.m
+++ b/clang/test/CodeGenObjC/gnu-exceptions.m
@@ -6,7 +6,8 @@ void log(int i);
@class C;
-// CHECK: define void @test0() [[TF:#[0-9]+]] {
+// CHECK: define void @test0() [[TF:#[0-9]+]]
+// CHECK-SAME: personality i8* bitcast (i32 (...)* @__gnu_objc_personality_v0 to i8*)
void test0() {
@try {
// CHECK: invoke void @opaque()
@@ -15,7 +16,7 @@ void test0() {
// CHECK: call void @log(i32 1)
} @catch (C *c) {
- // CHECK: landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gnu_objc_personality_v0 to i8*)
+ // CHECK: landingpad { i8*, i32 }
// CHECK-NEXT: catch i8* getelementptr inbounds ([2 x i8], [2 x i8]* @0, i64 0, i64 0)
// CHECK: br i1
OpenPOWER on IntegriCloud