Author: hans Date: Wed Aug 30 16:26:38 2017 New Revision: 312193 URL: http://llvm.org/viewvc/llvm-project?rev=312193&view=rev Log: Fix the test fix from r312181
Modified: cfe/trunk/test/CodeGen/profile-sample-accurate.c cfe/trunk/test/CodeGen/thinlto-emit-llvm.c cfe/trunk/test/Integration/thinlto_profile_sample_accurate.c Modified: cfe/trunk/test/CodeGen/profile-sample-accurate.c URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/profile-sample-accurate.c?rev=312193&r1=312192&r2=312193&view=diff ============================================================================== --- cfe/trunk/test/CodeGen/profile-sample-accurate.c (original) +++ cfe/trunk/test/CodeGen/profile-sample-accurate.c Wed Aug 30 16:26:38 2017 @@ -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() { } Modified: cfe/trunk/test/CodeGen/thinlto-emit-llvm.c URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/thinlto-emit-llvm.c?rev=312193&r1=312192&r2=312193&view=diff ============================================================================== --- cfe/trunk/test/CodeGen/thinlto-emit-llvm.c (original) +++ cfe/trunk/test/CodeGen/thinlto-emit-llvm.c Wed Aug 30 16:26:38 2017 @@ -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() { } Modified: cfe/trunk/test/Integration/thinlto_profile_sample_accurate.c URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Integration/thinlto_profile_sample_accurate.c?rev=312193&r1=312192&r2=312193&view=diff ============================================================================== --- cfe/trunk/test/Integration/thinlto_profile_sample_accurate.c (original) +++ cfe/trunk/test/Integration/thinlto_profile_sample_accurate.c Wed Aug 30 16:26:38 2017 @@ -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() { } _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits