summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/test/CodeGen/profile-sample-accurate.c2
-rw-r--r--clang/test/CodeGen/thinlto-emit-llvm.c2
-rw-r--r--clang/test/Integration/thinlto_profile_sample_accurate.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/CodeGen/profile-sample-accurate.c b/clang/test/CodeGen/profile-sample-accurate.c
index cf628d55cf5..9dd6afd24d7 100644
--- a/clang/test/CodeGen/profile-sample-accurate.c
+++ b/clang/test/CodeGen/profile-sample-accurate.c
@@ -1,7 +1,7 @@
// Test to ensure -emit-llvm profile-sample-accurate is honored by clang.
// RUN: %clang -S -emit-llvm %s -fprofile-sample-accurate -o - | FileCheck %s
-// CHECK: define void @foo()
+// CHECK: define {{.*}} void @foo()
// CHECK: attributes {{.*}} "profile-sample-accurate"
void foo() {
}
diff --git a/clang/test/CodeGen/thinlto-emit-llvm.c b/clang/test/CodeGen/thinlto-emit-llvm.c
index f611162d199..d89961d5f56 100644
--- a/clang/test/CodeGen/thinlto-emit-llvm.c
+++ b/clang/test/CodeGen/thinlto-emit-llvm.c
@@ -5,6 +5,6 @@
// RUN: %clang_cc1 -O2 -x ir %t.o -fthinlto-index=%t.thinlto.bc -emit-llvm -o - | FileCheck %s
// RUN: %clang_cc1 -O2 -x ir %t.o -fthinlto-index=%t.thinlto.bc -emit-llvm-bc -o - | llvm-dis -o - | FileCheck %s
-// CHECK: define void @foo()
+// CHECK: define {{.*}} void @foo()
void foo() {
}
diff --git a/clang/test/Integration/thinlto_profile_sample_accurate.c b/clang/test/Integration/thinlto_profile_sample_accurate.c
index d7966c215cb..d209e24d560 100644
--- a/clang/test/Integration/thinlto_profile_sample_accurate.c
+++ b/clang/test/Integration/thinlto_profile_sample_accurate.c
@@ -3,7 +3,7 @@
// RUN: llvm-lto -thinlto -o %t %t.o
// RUN: %clang_cc1 -O2 -x ir %t.o -fthinlto-index=%t.thinlto.bc -emit-llvm -o - | FileCheck %s
-// CHECK: define void @foo()
+// CHECK: define {{.*}} void @foo()
// CHECK: attributes {{.*}} "profile-sample-accurate"
void foo() {
}
OpenPOWER on IntegriCloud