diff options
author | Howard Hinnant <hhinnant@apple.com> | 2012-02-02 20:47:28 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2012-02-02 20:47:28 +0000 |
commit | eaa65afc7bff75649cab2a4be4ce18f82554db5b (patch) | |
tree | 7396b684027c1d47b99a8a297ced48ee4f4ea042 /libcxxabi/src/cxa_exception.hpp | |
parent | 90ef25c05ed63aab61a946231332e2e708eb6b8d (diff) | |
download | bcm5719-llvm-eaa65afc7bff75649cab2a4be4ce18f82554db5b.tar.gz bcm5719-llvm-eaa65afc7bff75649cab2a4be4ce18f82554db5b.zip |
Work on restricting symbol visibility.
llvm-svn: 149633
Diffstat (limited to 'libcxxabi/src/cxa_exception.hpp')
-rw-r--r-- | libcxxabi/src/cxa_exception.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libcxxabi/src/cxa_exception.hpp b/libcxxabi/src/cxa_exception.hpp index 2b128aa803f..d70de0eb6a5 100644 --- a/libcxxabi/src/cxa_exception.hpp +++ b/libcxxabi/src/cxa_exception.hpp @@ -17,6 +17,8 @@ namespace __cxxabiv1 { +#pragma GCC visibility push(hidden) + static const uint64_t kOurExceptionClass = 0x434C4E47432B2B00; // CLNGC++\0 static const uint64_t kOurDependentExceptionClass = 0x434C4E47432B2B01; // CLNGC++\1 static const uint64_t get_vendor_and_language = 0xFFFFFFFFFFFFFF00; // mask for CLNGC++ @@ -103,10 +105,14 @@ static const uint64_t get_vendor_and_language = 0xFFFFFFFFFFFFFF00; // mask #endif }; +#pragma GCC visibility pop +#pragma GCC visibility push(default) + extern "C" __cxa_eh_globals * __cxa_get_globals (); extern "C" __cxa_eh_globals * __cxa_get_globals_fast (); extern "C" void * __cxa_allocate_dependent_exception (); extern "C" void __cxa_free_dependent_exception (void * dependent_exception); +#pragma GCC visibility pop }
\ No newline at end of file |