diff options
Diffstat (limited to 'clang/test/CodeGenObjC')
-rw-r--r-- | clang/test/CodeGenObjC/arc-no-arc-exceptions.m | 8 | ||||
-rw-r--r-- | clang/test/CodeGenObjC/arc.m | 4 | ||||
-rw-r--r-- | clang/test/CodeGenObjC/gnu-exceptions.m | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/clang/test/CodeGenObjC/arc-no-arc-exceptions.m b/clang/test/CodeGenObjC/arc-no-arc-exceptions.m index 7ae061f4146..0acd095c8fc 100644 --- a/clang/test/CodeGenObjC/arc-no-arc-exceptions.m +++ b/clang/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 ! -// CHECK: call void @not() nounwind, !clang.arc.no_objc_arc_exceptions ! +// CHECK: call void @thrower() "target-features"={{.*}}, !clang.arc.no_objc_arc_exceptions ! +// CHECK: call void @not() nounwind "target-features"={{.*}}, !clang.arc.no_objc_arc_exceptions ! // 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 ! -// CHECK: call void @not() nounwind, !clang.arc.no_objc_arc_exceptions ! +// CHECK: call void @thrower() "target-features"={{.*}}, !clang.arc.no_objc_arc_exceptions ! +// CHECK: call void @not() nounwind "target-features"={{.*}}, !clang.arc.no_objc_arc_exceptions ! // NO-METADATA: define void @test1( // NO-METADATA-NOT: !clang.arc.no_objc_arc_exceptions // NO-METADATA: } diff --git a/clang/test/CodeGenObjC/arc.m b/clang/test/CodeGenObjC/arc.m index 4254acacb10..ad495ba20e2 100644 --- a/clang/test/CodeGenObjC/arc.m +++ b/clang/test/CodeGenObjC/arc.m @@ -676,7 +676,7 @@ void test21(unsigned n) { @implementation Test29 static id _test29_allocator = 0; - (id) init { -// CHECK: define internal i8* @"\01-[Test29 init]"([[TEST29:%.*]]* {{%.*}}, +// CHECK: define internal i8* @"\01-[Test29 init]"([[TEST29:%[^*]*]]* {{%.*}}, // CHECK: [[SELF:%.*]] = alloca [[TEST29]]*, align 8 // CHECK-NEXT: [[CMD:%.*]] = alloca i8*, align 8 // CHECK-NEXT: [[CLEANUP:%.*]] = alloca i32 @@ -786,7 +786,7 @@ typedef struct Test30_helper Test30_helper; char *helper; } - (id) init { -// CHECK: define internal i8* @"\01-[Test30 init]"([[TEST30:%.*]]* {{%.*}}, +// CHECK: define internal i8* @"\01-[Test30 init]"([[TEST30:%[^*]*]]* {{%.*}}, // CHECK: [[RET:%.*]] = alloca [[TEST30]]* // CHECK-NEXT: alloca i8* // CHECK-NEXT: alloca i32 diff --git a/clang/test/CodeGenObjC/gnu-exceptions.m b/clang/test/CodeGenObjC/gnu-exceptions.m index 4a046e21347..604bcf2cc7a 100644 --- a/clang/test/CodeGenObjC/gnu-exceptions.m +++ b/clang/test/CodeGenObjC/gnu-exceptions.m @@ -6,7 +6,7 @@ void log(int i); @class C; -// CHECK: define void @test0() { +// CHECK: define void @test0() "target-features"={{.*}} { void test0() { @try { // CHECK: invoke void @opaque() |