summaryrefslogtreecommitdiffstats
path: root/test/CodeGenObjC
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-02-16 01:56:55 +0000
committerChad Rosier <mcrosier@apple.com>2012-02-16 01:56:55 +0000
commit348ab1ae81a1be6ab3978449b14a426205140b22 (patch)
treefae663a5af4050347631c9da9659e3886826aff8 /test/CodeGenObjC
parentbd89f8c2caa9550e41daa1aa9bf30f0f1e0dfaf7 (diff)
Fix test for r150648.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150650 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenObjC')
-rw-r--r--test/CodeGenObjC/arc-no-arc-exceptions.m14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/CodeGenObjC/arc-no-arc-exceptions.m b/test/CodeGenObjC/arc-no-arc-exceptions.m
index d03a0c9322..81c4575132 100644
--- a/test/CodeGenObjC/arc-no-arc-exceptions.m
+++ b/test/CodeGenObjC/arc-no-arc-exceptions.m
@@ -9,8 +9,8 @@ void thrower(void);
void not(void) __attribute__((nothrow));
// CHECK: define void @test0(
-// CHECK: call void @thrower(), !clang.arc.no_objc_arc_exceptions !0
-// CHECK: call void @not() nounwind, !clang.arc.no_objc_arc_exceptions !0
+// CHECK: call void @thrower(), !clang.arc.no_objc_arc_exceptions !4
+// CHECK: call void @not() nounwind, !clang.arc.no_objc_arc_exceptions !4
// NO-METADATA: define void @test0(
// NO-METADATA-NOT: !clang.arc.no_objc_arc_exceptions
// NO-METADATA: }
@@ -20,8 +20,8 @@ void test0(void) {
}
// CHECK: define void @test1(
-// CHECK: call void @thrower(), !clang.arc.no_objc_arc_exceptions !0
-// CHECK: call void @not() nounwind, !clang.arc.no_objc_arc_exceptions !0
+// CHECK: call void @thrower(), !clang.arc.no_objc_arc_exceptions !4
+// CHECK: call void @not() nounwind, !clang.arc.no_objc_arc_exceptions !4
// NO-METADATA: define void @test1(
// NO-METADATA-NOT: !clang.arc.no_objc_arc_exceptions
// NO-METADATA: }
@@ -35,7 +35,7 @@ void NSLog(id, ...);
// CHECK: define void @test2(
// CHECK: invoke void (i8*, ...)* @NSLog(i8* bitcast (%struct.NSConstantString* @_unnamed_cfstring_ to i8*), i32* %x2)
-// CHECK: to label %invoke.cont unwind label %lpad, !clang.arc.no_objc_arc_exceptions !0
+// CHECK: to label %invoke.cont unwind label %lpad, !clang.arc.no_objc_arc_exceptions !4
// NO-METADATA: define void @test2(
// NO-METADATA-NOT: !clang.arc.no_objc_arc_exceptions
// NO-METADATA: }
@@ -48,7 +48,7 @@ void test2(void) {
// CHECK: define void @test3(
// CHECK: invoke void %9(i8* %7)
-// CHECK: to label %invoke.cont unwind label %lpad, !clang.arc.no_objc_arc_exceptions !0
+// CHECK: to label %invoke.cont unwind label %lpad, !clang.arc.no_objc_arc_exceptions !4
// NO-METADATA: define void @test3(
// NO-METADATA-NOT: !clang.arc.no_objc_arc_exceptions
// NO-METADATA: }
@@ -63,7 +63,7 @@ void test3(void) {
// CHECK: define void @test4(
// CHECK: invoke void %13(i8* %11)
-// CHECK: to label %invoke.cont unwind label %lpad, !clang.arc.no_objc_arc_exceptions !0
+// CHECK: to label %invoke.cont unwind label %lpad, !clang.arc.no_objc_arc_exceptions !4
// NO-METADATA: define void @test4(
// NO-METADATA-NOT: !clang.arc.no_objc_arc_exceptions
// NO-METADATA: }