summaryrefslogtreecommitdiffstats
path: root/test/OpenMP/threadprivate_codegen.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2017-02-13 18:49:21 +0000
committerReid Kleckner <rnk@google.com>2017-02-13 18:49:21 +0000
commitff18d06e36b36a209ff586df07b28413cebf0684 (patch)
tree9ae33d52711a0055449e5083e3c9535ab51f5aea /test/OpenMP/threadprivate_codegen.cpp
parent186d5807d865a55ed6b31790e86cc4980793976a (diff)
[CodeGen] Treat auto-generated __dso_handle symbol as HiddenVisibility
Fixes https://bugs.llvm.org/show_bug.cgi?id=31932 Based on a patch by Roland McGrath Reviewed By: phosek Differential Revision: https://reviews.llvm.org/D29843 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@294978 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/OpenMP/threadprivate_codegen.cpp')
-rw-r--r--test/OpenMP/threadprivate_codegen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/OpenMP/threadprivate_codegen.cpp b/test/OpenMP/threadprivate_codegen.cpp
index 318415761a..3785b70c19 100644
--- a/test/OpenMP/threadprivate_codegen.cpp
+++ b/test/OpenMP/threadprivate_codegen.cpp
@@ -176,7 +176,7 @@ struct S5 {
// CHECK-TLS-DAG: [[ST_S4_ST:@.+]] = linkonce_odr thread_local global %struct.S4 zeroinitializer
// CHECK-TLS-DAG: [[ST_S4_ST_GUARD:@_ZGVN2STI2S4E2stE]] = linkonce_odr thread_local global i64 0
// CHECK-TLS-DAG: @__tls_guard = internal thread_local global i8 0
-// CHECK-TLS-DAG: @__dso_handle = external global i8
+// CHECK-TLS-DAG: @__dso_handle = external hidden global i8
// CHECK-TLS-DAG: [[GS1_TLS_INIT:@_ZTHL3gs1]] = internal alias void (), void ()* @__tls_init
// CHECK-TLS-DAG: [[ARR_X_TLS_INIT:@_ZTH5arr_x]] = alias void (), void ()* @__tls_init