summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX
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
commit9de921470dd8531d9ad7b4b0b4f7c3bec6473185 (patch)
tree1d86dbe768daad8bc065a977186cf4bd5a029d21 /clang/test/CodeGenCXX
parent904c5ed558b8e2eafde445730532bfcae18d613d (diff)
downloadbcm5719-llvm-9de921470dd8531d9ad7b4b0b4f7c3bec6473185.tar.gz
bcm5719-llvm-9de921470dd8531d9ad7b4b0b4f7c3bec6473185.zip
[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 llvm-svn: 294978
Diffstat (limited to 'clang/test/CodeGenCXX')
-rw-r--r--clang/test/CodeGenCXX/global-init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/global-init.cpp b/clang/test/CodeGenCXX/global-init.cpp
index 291b43cac0a..f96e6032ff5 100644
--- a/clang/test/CodeGenCXX/global-init.cpp
+++ b/clang/test/CodeGenCXX/global-init.cpp
@@ -15,7 +15,7 @@ struct C { void *field; };
struct D { ~D(); };
-// CHECK: @__dso_handle = external global i8
+// CHECK: @__dso_handle = external hidden global i8
// CHECK: @c = global %struct.C zeroinitializer, align 8
// PR6205: The casts should not require global initializers
OpenPOWER on IntegriCloud