[clang] ba1fb0f - [test] Update c-linkage-available_externally.c

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 3 13:40:08 PDT 2021


Author: Fangrui Song
Date: 2021-06-03T13:40:01-07:00
New Revision: ba1fb0ff8c9f9ef7f9b7d1fe43cb95c8d1363f78

URL: https://github.com/llvm/llvm-project/commit/ba1fb0ff8c9f9ef7f9b7d1fe43cb95c8d1363f78
DIFF: https://github.com/llvm/llvm-project/commit/ba1fb0ff8c9f9ef7f9b7d1fe43cb95c8d1363f78.diff

LOG: [test] Update c-linkage-available_externally.c

Added: 
    

Modified: 
    clang/test/Profile/c-linkage-available_externally.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Profile/c-linkage-available_externally.c b/clang/test/Profile/c-linkage-available_externally.c
index 5ac777b267ab8..c8dd9fc40a18a 100644
--- a/clang/test/Profile/c-linkage-available_externally.c
+++ b/clang/test/Profile/c-linkage-available_externally.c
@@ -3,7 +3,7 @@
 // RUN: %clang_cc1 -O2 -triple x86_64-apple-macosx10.9 -main-file-name c-linkage-available_externally.c %s -o - -emit-llvm -fprofile-instrument=clang | FileCheck %s
 
 // CHECK: @__profc_foo = linkonce_odr hidden global [1 x i64] zeroinitializer, section "__DATA,__llvm_prf_cnts", align 8
-// CHECK: @__profd_foo = linkonce_odr hidden global {{.*}} i64* getelementptr inbounds ([1 x i64], [1 x i64]* @__profc_foo, i32 0, i32 0){{.*}}, section "__DATA,__llvm_prf_data,regular,live_support", align 8
+// CHECK: @__profd_foo = private global {{.*}} i64* getelementptr inbounds ([1 x i64], [1 x i64]* @__profc_foo, i32 0, i32 0){{.*}}, section "__DATA,__llvm_prf_data,regular,live_support", align 8
 inline int foo(void) { return 1; }
 
 int main(void) {


        


More information about the cfe-commits mailing list