Index: cfe/trunk/test/CodeGen/profile-sample-accurate.c =================================================================== --- cfe/trunk/test/CodeGen/profile-sample-accurate.c +++ cfe/trunk/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() { } Index: cfe/trunk/test/CodeGen/thinlto-emit-llvm.c =================================================================== --- cfe/trunk/test/CodeGen/thinlto-emit-llvm.c +++ cfe/trunk/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() { } Index: cfe/trunk/test/Integration/thinlto_profile_sample_accurate.c =================================================================== --- cfe/trunk/test/Integration/thinlto_profile_sample_accurate.c +++ cfe/trunk/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() { }