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 | 18ef564c8bb060bc586de28789d5b212942f355f (patch) | |
| tree | fbee86fdadae86bc2e4669b16060aa4490916c82 /libcxxabi/src/cxa_handlers.cpp | |
| parent | ee77a4828e2efdd3c0a6896da0ef5804b08c1cbe (diff) | |
| download | bcm5719-llvm-18ef564c8bb060bc586de28789d5b212942f355f.tar.gz bcm5719-llvm-18ef564c8bb060bc586de28789d5b212942f355f.zip | |
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.
llvm-svn: 270816
Diffstat (limited to 'libcxxabi/src/cxa_handlers.cpp')
| -rw-r--r-- | libcxxabi/src/cxa_handlers.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxxabi/src/cxa_handlers.cpp b/libcxxabi/src/cxa_handlers.cpp index 9c1c30291a6..c231b5a3ecb 100644 --- a/libcxxabi/src/cxa_handlers.cpp +++ b/libcxxabi/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 |

