[clang] da3ed58 - [test] Update more clang/test/Profile tests
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 3 13:43:24 PDT 2021
Author: Fangrui Song
Date: 2021-06-03T13:43:19-07:00
New Revision: da3ed58b97c1cc1356b7732d5dcbb6e4de3057da
URL: https://github.com/llvm/llvm-project/commit/da3ed58b97c1cc1356b7732d5dcbb6e4de3057da
DIFF: https://github.com/llvm/llvm-project/commit/da3ed58b97c1cc1356b7732d5dcbb6e4de3057da.diff
LOG: [test] Update more clang/test/Profile tests
Added:
Modified:
clang/test/Profile/c-linkage.c
clang/test/Profile/cxx-linkage.cpp
Removed:
################################################################################
diff --git a/clang/test/Profile/c-linkage.c b/clang/test/Profile/c-linkage.c
index 50ac558fb076..7a607e723721 100644
--- a/clang/test/Profile/c-linkage.c
+++ b/clang/test/Profile/c-linkage.c
@@ -4,7 +4,7 @@
// CHECK: @__profc_foo = private global
// CHECK: @__profd_foo = private global
// CHECK: @__profc_foo_weak = weak hidden global
-// CHECK: @__profd_foo_weak = weak hidden global
+// CHECK: @__profd_foo_weak = private global
// CHECK: @__profc_main = private global
// CHECK: @__profd_main = private global
// CHECK: @__profc_c_linkage.c_foo_internal = private global
diff --git a/clang/test/Profile/cxx-linkage.cpp b/clang/test/Profile/cxx-linkage.cpp
index 6f7b2b7128e9..99537c0e027e 100644
--- a/clang/test/Profile/cxx-linkage.cpp
+++ b/clang/test/Profile/cxx-linkage.cpp
@@ -3,11 +3,11 @@
// CHECK: @__profc__Z3foov = private global
// CHECK: @__profd__Z3foov = private global
// CHECK: @__profc__Z8foo_weakv = weak hidden global
-// CHECK: @__profd__Z8foo_weakv = weak hidden global
+// CHECK: @__profd__Z8foo_weakv = private global
// CHECK: @__profc_main = private global
// CHECK: @__profd_main = private global
// CHECK: @__profc__Z10foo_inlinev = linkonce_odr hidden global
-// CHECK: @__profd__Z10foo_inlinev = linkonce_odr hidden global
+// CHECK: @__profd__Z10foo_inlinev = private global
void foo(void) { }
More information about the cfe-commits
mailing list