diff options
-rw-r--r-- | clang/test/CodeGen/profile-sample-accurate.c | 4 | ||||
-rw-r--r-- | clang/test/CodeGen/thinlto-emit-llvm.c | 2 | ||||
-rw-r--r-- | clang/test/Integration/thinlto_profile_sample_accurate.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/clang/test/CodeGen/profile-sample-accurate.c b/clang/test/CodeGen/profile-sample-accurate.c index 9dd6afd24d7..556cad753c3 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: attributes {{.*}} "profile-sample-accurate" +// 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 d89961d5f56..d6ef6650243 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 d209e24d560..ac7274cee2d 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: attributes {{.*}} "profile-sample-accurate" +// CHECK: define{{.*}} void @foo() +// CHECK: attributes{{.*}} "profile-sample-accurate" void foo() { } |