[libcxxabi] Support building hermetic static library

This is useful when the static libc++abi library is being linked into
shared libraries that may be used in with other shared libraries that
use different C++ library. We want to avoid avoid exporting libc++abi
or libc++ symbols in those cases. This achieved by a new CMake option
which can be enabled by libc++abi vendors as needed.

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

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@352017 91177308-0d34-0410-b5e6-96231b3b80d8
3 files changed