Przeglądaj źródła

Fix the test fix from r312181

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@312193 91177308-0d34-0410-b5e6-96231b3b80d8
Hans Wennborg 8 lat temu
rodzic
commit
c1f9a996bb

+ 2 - 2
test/CodeGen/profile-sample-accurate.c

@@ -1,7 +1,7 @@
 // Test to ensure -emit-llvm profile-sample-accurate is honored by clang.
 // Test to ensure -emit-llvm profile-sample-accurate is honored by clang.
 // RUN: %clang -S -emit-llvm %s -fprofile-sample-accurate -o - | FileCheck %s
 // 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() {
 void foo() {
 }
 }

+ 1 - 1
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 -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
 // 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() {
 void foo() {
 }
 }

+ 2 - 2
test/Integration/thinlto_profile_sample_accurate.c

@@ -3,7 +3,7 @@
 // RUN: llvm-lto -thinlto -o %t %t.o
 // 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
 // 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() {
 void foo() {
 }
 }