summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-10-07 23:07:59 +0000
committerEric Fiselier <eric@efcs.ca>2016-10-07 23:07:59 +0000
commite4d80542d29522b26b21621ee733df20bb908a92 (patch)
tree21a3d0804bf1d5c572a889281c6160c3ce6b4c07 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent37e676d85762d8541e2df16bfa14963f5c705118 (diff)
Fix PR30642 - libc++ leaks always-visible symbols into programs
This was caused by r281673, specifically changing `_LIBCPP_EXTERN_TEMPLATE_TYPE_VIS` from `__attribute__((__type_visibility__("default")))` to `__attribute__((__visibility("default")))`. I made that change because I thought the external instantiations needed their members to have default visibility. However since libc++ never builds with -fvisibility=hidden this appears not to be needed. Instead this change caused previously hidden inline methods to become un-hidden, which is a regression. This patch reverts the problematic change and fixes PR30642. llvm-svn: 283620
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions