Use default visibility to work around clang -fvisibility-inlines-hidden bug
commitd1ddc257f15de7763866788e4b9b9b5cc6ad63b7
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Jul 2018 11:24:55 +0000 (20 11:24 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Jul 2018 11:24:55 +0000 (20 11:24 +0000)
treed0f29467824c4ced0461b258660966332687c151
parent13fec9e574085b2298e5894473614a08d95f2445
Use default visibility to work around clang -fvisibility-inlines-hidden bug

Clang (including trunk and many older versions) incorrectly marks static
local variables (__tag) hidden when -fvisibility-inlines-hidden is used.
This can lead to multiple instances of __tag when shares objects are used.

2018-07-20  Fangrui Song  <maskray@google.com>

* include/bits/shared_ptr_base.h (_Sp_make_shared_tag::_S_ti): Use
_GLIBCXX_VISIBILITY(default).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262903 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/shared_ptr_base.h