summaryrefslogtreecommitdiff
path: root/src/cxa_handlers.hpp
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2012-01-24 18:26:29 +0000
committerHoward Hinnant <hhinnant@apple.com>2012-01-24 18:26:29 +0000
commit3f034b77daeb3d7ab5a0c5167b2ffece7c9cbd28 (patch)
tree67ffff5be8cbd98f101d196608604eb59c64f28c /src/cxa_handlers.hpp
parent08f419c67a30f4c03684e8f317c9234549842740 (diff)
Remove dependence upon std::exception_ptr from the default_terminate_handler. Recovered the equivalent functionality at a lower level.
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@148830 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'src/cxa_handlers.hpp')
-rw-r--r--src/cxa_handlers.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/cxa_handlers.hpp b/src/cxa_handlers.hpp
index e40e4be..a7f582c 100644
--- a/src/cxa_handlers.hpp
+++ b/src/cxa_handlers.hpp
@@ -15,13 +15,11 @@
namespace std
{
-_LIBCPP_HIDDEN
-_ATTRIBUTE(noreturn)
+__attribute__((visibility("hidden"), noreturn))
void
__unexpected(unexpected_handler func);
-_LIBCPP_HIDDEN
-_ATTRIBUTE(noreturn)
+__attribute__((visibility("hidden"), noreturn))
void
__terminate(terminate_handler func) _NOEXCEPT;