summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2016-05-11 23:56:37 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2016-05-11 23:56:37 +0000
commit5985dd69c9ef90f3eb13658253bd7800c16db4e1 (patch)
treef6cbf1c4f43eb06525b810905670167b4cad6342
parent6191aec8fc1d29c8ae26520e277d4978ea81b48a (diff)
libc++abi: make __cxa_call_unexpected visible
This may be invoked by the compiler, and needs to be made available so that the users can reference it. git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@269255 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--src/cxa_personality.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cxa_personality.cpp b/src/cxa_personality.cpp
index f3e0aeb..85b6df2 100644
--- a/src/cxa_personality.cpp
+++ b/src/cxa_personality.cpp
@@ -1166,7 +1166,7 @@ __gxx_personality_v0(_Unwind_State state,
__attribute__((noreturn))
-void
+_LIBCXXABI_FUNC_VIS void
__cxa_call_unexpected(void* arg)
{
_Unwind_Exception* unwind_exception = static_cast<_Unwind_Exception*>(arg);