diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-12-04 02:14:58 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-12-04 02:14:58 +0000 |
commit | b4ec5796f2d2d0c7bf3faeb87ce87281c185b28e (patch) | |
tree | a03ac48a7bc826682ba85d2832d1b844c10999e6 /src/cxa_thread_atexit.cpp | |
parent | 77a304b28be4b50a508298d6a0e40ee9d4bb3ccd (diff) |
ibc++abi: mark visibility
Mark functions and types with the appropriate visibility. This is particularly
useful for environments which explicitly indicate origin of functions (Windows).
This aids in generating libc++abi as a DSO which exposes only the public
interfaces.
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@254691 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'src/cxa_thread_atexit.cpp')
-rw-r--r-- | src/cxa_thread_atexit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cxa_thread_atexit.cpp b/src/cxa_thread_atexit.cpp index 5960bed..7962e28 100644 --- a/src/cxa_thread_atexit.cpp +++ b/src/cxa_thread_atexit.cpp @@ -14,8 +14,8 @@ extern "C" { #ifdef HAVE___CXA_THREAD_ATEXIT_IMPL -int __cxa_thread_atexit(void (*dtor)(void *), void *obj, - void *dso_symbol) throw() { +_LIBCXXABI_FUNC_VIS int __cxa_thread_atexit(void (*dtor)(void *), void *obj, + void *dso_symbol) throw() { extern int __cxa_thread_atexit_impl(void (*)(void *), void *, void *); return __cxa_thread_atexit_impl(dtor, obj, dso_symbol); } |