[PATCH] D56026: [libcxxabi] Support building hermetic static library

Petr Hosek via Phabricator reviews at reviews.llvm.org
Fri Dec 21 14:32:05 PST 2018


phosek created this revision.
phosek added reviewers: ldionne, EricWF.
Herald added subscribers: libcxx-commits, christof, mgorny.

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.


Repository:
  rCXXA libc++abi

https://reviews.llvm.org/D56026

Files:
  libcxxabi/CMakeLists.txt
  libcxxabi/cmake/Modules/HandleLibcxxabiFlags.cmake
  libcxxabi/src/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56026.179359.patch
Type: text/x-patch
Size: 5095 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20181221/616ade1d/attachment-0001.bin>


More information about the libcxx-commits mailing list