diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-09-24 00:36:24 +0300 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-09-24 00:36:24 +0300 |
commit | 7ec747fe953944b90c2afb00066314927afdd6e6 (patch) | |
tree | 784a9dc942bb3e092b6e42f0e36ab3deee587138 /libcxxabi/src/private_typeinfo.cpp | |
parent | 80186a57d66c4374aea9118045d8489dcdb6071b (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.
llvm-svn: 282300
Diffstat (limited to 'libcxxabi/src/private_typeinfo.cpp')
-rw-r--r-- | libcxxabi/src/private_typeinfo.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/libcxxabi/src/private_typeinfo.cpp b/libcxxabi/src/private_typeinfo.cpp index 9804e161db30..73ef362aafc0 100644 --- a/libcxxabi/src/private_typeinfo.cpp +++ b/libcxxabi/src/private_typeinfo.cpp @@ -616,13 +616,11 @@ bool __pointer_to_member_type_info::can_catch_nested( // If there is a public path from (dynamic_ptr, dynamic_type) to // (static_ptr, static_type), then return dynamic_ptr. // Else return nullptr. -extern "C" -void* -__dynamic_cast(const void* static_ptr, - const __class_type_info* static_type, - const __class_type_info* dst_type, - std::ptrdiff_t src2dst_offset) -{ + +extern "C" _LIBCXXABI_FUNC_VIS void * +__dynamic_cast(const void *static_ptr, const __class_type_info *static_type, + const __class_type_info *dst_type, + std::ptrdiff_t src2dst_offset) { // Possible future optimization: Take advantage of src2dst_offset // Currently clang always sets src2dst_offset to -1 (no hint). |