diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-05-26 02:12:20 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-05-26 02:12:20 +0000 |
commit | 436072f52ff05d69f626a9c7a309a1464758f129 (patch) | |
tree | 674a5c2c175c82c1230120557e7bfb4a91f4ad02 /src/cxa_handlers.cpp | |
parent | b06c53cc75f9364076b48b8c05e80d5752f57dc3 (diff) |
libc++abi: build with -fvisibility=hidden
Enable building libc++abi with hidden visibility by default. The ABI mandated
interfaces (and a few extra) are already set up to be externally visible. This
allows us to ensure that any implementation details are not leaked.
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@270816 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'src/cxa_handlers.cpp')
-rw-r--r-- | src/cxa_handlers.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cxa_handlers.cpp b/src/cxa_handlers.cpp index 9c1c302..c231b5a 100644 --- a/src/cxa_handlers.cpp +++ b/src/cxa_handlers.cpp @@ -102,9 +102,9 @@ terminate() _NOEXCEPT __terminate(get_terminate()); } -extern "C" new_handler __cxa_new_handler = 0; -// In the future these will become: +// In the future this will become: // std::atomic<std::new_handler> __cxa_new_handler(0); +extern "C" _LIBCXXABI_DATA_VIS new_handler __cxa_new_handler = 0; new_handler set_new_handler(new_handler handler) _NOEXCEPT |