]> granicus.if.org Git - clang/commitdiff
Fix for different build configurations.
authorJohn McCall <rjmccall@apple.com>
Wed, 10 Apr 2019 19:11:32 +0000 (19:11 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 10 Apr 2019 19:11:32 +0000 (19:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@358125 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/unreachable-ret.c

index 66fda398a00a66dc9428118bba8328f994d6dc1f..386b83e9ef6bb5f52ff965caa56bd9c2f939804b 100644 (file)
@@ -5,7 +5,7 @@ extern void abort() __attribute__((noreturn));
 void f1() {
   abort();
 }
-// CHECK-LABEL: define void @f1()
+// CHECK-LABEL: define {{.*}}void @f1()
 // CHECK-NEXT: entry:
 // CHECK-NEXT:   call void @abort()
 // CHECK-NEXT:   unreachable
@@ -15,7 +15,7 @@ void *f2() {
   abort();
   return 0;
 }
-// CHECK-LABEL: define i8* @f2()
+// CHECK-LABEL: define {{.*}}i8* @f2()
 // CHECK-NEXT: entry:
 // CHECK-NEXT:   call void @abort()
 // CHECK-NEXT:   unreachable