diff options
Diffstat (limited to 'test/Profile/c-linkage.c')
-rw-r--r-- | test/Profile/c-linkage.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Profile/c-linkage.c b/test/Profile/c-linkage.c index 9abbc29..e6fbda9 100644 --- a/test/Profile/c-linkage.c +++ b/test/Profile/c-linkage.c @@ -1,10 +1,10 @@ // Check that the profiling names we create have the linkage we expect // RUN: %clang_cc1 -triple x86_64-apple-macosx10.9 -main-file-name c-linkage.c %s -o - -emit-llvm -fprofile-instr-generate | FileCheck %s -// CHECK: @__llvm_profile_name_foo = private constant [3 x i8] c"foo" -// CHECK: @__llvm_profile_name_foo_weak = weak hidden constant [8 x i8] c"foo_weak" -// CHECK: @__llvm_profile_name_main = private constant [4 x i8] c"main" -// CHECK: @"__llvm_profile_name_c-linkage.c:foo_internal" = private constant [24 x i8] c"c-linkage.c:foo_internal" +// CHECK: @__profn_foo = private constant [3 x i8] c"foo" +// CHECK: @__profn_foo_weak = weak hidden constant [8 x i8] c"foo_weak" +// CHECK: @__profn_main = private constant [4 x i8] c"main" +// CHECK: @__profn_c_linkage.c_foo_internal = private constant [24 x i8] c"c-linkage.c:foo_internal" void foo(void) { } |