summaryrefslogtreecommitdiff
path: root/src/cxa_handlers.hpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2016-09-23 21:36:24 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2016-09-23 21:36:24 +0000
commit46eb39a561ce4e4952abcb05378e38f01fd3fac6 (patch)
tree4f8a4b19e2530c84478bc297a567590f998f70a4 /src/cxa_handlers.hpp
parentb62a4dd90c2568cfc49f710d15a326b9ead3f610 (diff)
annotate more function visibility
These data and text symbols were missing annotations for building with hidden visibility. As we do not currently enable hidden visibility by default, this is a NFC for the buildbots. git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@282300 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'src/cxa_handlers.hpp')
-rw-r--r--src/cxa_handlers.hpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/cxa_handlers.hpp b/src/cxa_handlers.hpp
index ce567ec..bfd5abe 100644
--- a/src/cxa_handlers.hpp
+++ b/src/cxa_handlers.hpp
@@ -13,6 +13,8 @@
#ifndef _CXA_HANDLERS_H
#define _CXA_HANDLERS_H
+#include <__cxxabi_config.h>
+
#include <exception>
namespace std
@@ -31,9 +33,9 @@ __terminate(terminate_handler func) _NOEXCEPT;
extern "C"
{
-extern void (*__cxa_terminate_handler)();
-extern void (*__cxa_unexpected_handler)();
-extern void (*__cxa_new_handler)();
+_LIBCXXABI_DATA_VIS extern void (*__cxa_terminate_handler)();
+_LIBCXXABI_DATA_VIS extern void (*__cxa_unexpected_handler)();
+_LIBCXXABI_DATA_VIS extern void (*__cxa_new_handler)();
/*