Build with -fvisibility=hidden
authorEric Fiselier <eric@efcs.ca>
Tue, 30 Oct 2018 22:07:52 +0000 (22:07 +0000)
committerEric Fiselier <eric@efcs.ca>
Tue, 30 Oct 2018 22:07:52 +0000 (22:07 +0000)
commit6426a8d0c8afa1dc61891e7b0accb8e9223ccaf6
tree5f1225e9d97d11f709cda96519aa8f1ddcb7f1b4
parente90a7df5a179067d4eb64c97680dceb15b4b211d
Build with -fvisibility=hidden

Summary:
This change changes the build to use -fvisibility=hidden

The exports this patch removes are symbols that should have never been exported
by the dylib in the first place, and should all be symbols which the linker
won't de-duplicate across SO boundaries, making them safe to remove.

After this change, we should be able to apply `_LIBCPP_HIDDEN` to the versioning namespace without changing the export lists.

Reviewers: ldionne, mclow.lists

Reviewed By: ldionne

Subscribers: smeenai, mgorny, libcxx-commits

Differential Revision: https://reviews.llvm.org/D53868

llvm-svn: 345664
libcxx/CMakeLists.txt
libcxx/lib/abi/CHANGELOG.TXT
libcxx/lib/abi/x86_64-unknown-linux-gnu.v1.abilist