diff options
author | Shoaib Meenai <smeenai@fb.com> | 2017-03-01 03:55:57 +0000 |
---|---|---|
committer | Shoaib Meenai <smeenai@fb.com> | 2017-03-01 03:55:57 +0000 |
commit | fe989a98176a7215cdbbcedcdf65e630f40a0d80 (patch) | |
tree | 125d0e26698eee336bc9d32b8635c92cb0fb7acd /libcxxabi/src/stdlib_exception.cpp | |
parent | 175ffa8c35c7949330ca67f01e0d509631b9781e (diff) | |
download | bcm5719-llvm-fe989a98176a7215cdbbcedcdf65e630f40a0d80.tar.gz bcm5719-llvm-fe989a98176a7215cdbbcedcdf65e630f40a0d80.zip |
[libc++abi] Clean up visibility
Use the libc++abi visibility macros instead of pragmas or using
visibility attributes directly. Clean up redundant attributes on
definitions (where the declarations already have visibility attributes
applied, from either libc++ or libc++abi headers).
Introduce _LIBCXXABI_WEAK as a drive-by cleanup, which matches the
semantics of _LIBCPP_WEAK.
No functional change. Tested by building on Linux before and after this
change and verifying that the list of exported symbols is identical.
Differential Revision: https://reviews.llvm.org/D26949
llvm-svn: 296576
Diffstat (limited to 'libcxxabi/src/stdlib_exception.cpp')
-rw-r--r-- | libcxxabi/src/stdlib_exception.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libcxxabi/src/stdlib_exception.cpp b/libcxxabi/src/stdlib_exception.cpp index c47a9b76266..fce6e8a7994 100644 --- a/libcxxabi/src/stdlib_exception.cpp +++ b/libcxxabi/src/stdlib_exception.cpp @@ -9,8 +9,6 @@ #include <exception> -#pragma GCC visibility push(default) - namespace std { @@ -37,5 +35,3 @@ const char* bad_exception::what() const _NOEXCEPT } } // std - -#pragma GCC visibility pop |