Fix the test fix from r312181

llvm-svn: 312193
This commit is contained in:
Hans Wennborg 2017-08-30 23:26:38 +00:00
parent 5aa80f1663
commit 8f1559c238
3 changed files with 5 additions and 5 deletions

View File

@ -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() {
}

View File

@ -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() {
}

View File

@ -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() {
}