diff --git a/libcxx/include/__algorithm/sort.h b/libcxx/include/__algorithm/sort.h --- a/libcxx/include/__algorithm/sort.h +++ b/libcxx/include/__algorithm/sort.h @@ -174,7 +174,7 @@ } template -_LIBCPP_HIDDEN unsigned __sort5_wrap_policy( +_LIBCPP_HIDE_FROM_ABI unsigned __sort5_wrap_policy( _ForwardIterator __x1, _ForwardIterator __x2, _ForwardIterator __x3, _ForwardIterator __x4, _ForwardIterator __x5, _Compare __c) { using _WrappedComp = typename _WrapAlgPolicy<_AlgPolicy, _Compare>::type; diff --git a/libcxx/include/__iterator/ostreambuf_iterator.h b/libcxx/include/__iterator/ostreambuf_iterator.h --- a/libcxx/include/__iterator/ostreambuf_iterator.h +++ b/libcxx/include/__iterator/ostreambuf_iterator.h @@ -65,7 +65,7 @@ template friend - _LIBCPP_HIDDEN + _LIBCPP_HIDE_FROM_ABI ostreambuf_iterator<_Ch, _Tr> __pad_and_output(ostreambuf_iterator<_Ch, _Tr> __s, const _Ch* __ob, const _Ch* __op, const _Ch* __oe, diff --git a/libcxx/include/locale b/libcxx/include/locale --- a/libcxx/include/locale +++ b/libcxx/include/locale @@ -265,7 +265,7 @@ // If the input is "a", the first keyword matches and eofbit is set. // If the input is "abc", no match is found and "ab" are consumed. template -_LIBCPP_HIDDEN +_LIBCPP_HIDE_FROM_ABI _ForwardIterator __scan_keyword(_InputIterator& __b, _InputIterator __e, _ForwardIterator __kb, _ForwardIterator __ke, @@ -746,7 +746,7 @@ num_get<_CharT, _InputIterator>::id; template -_LIBCPP_HIDDEN _Tp +_LIBCPP_HIDE_FROM_ABI _Tp __num_get_signed_integral(const char* __a, const char* __a_end, ios_base::iostate& __err, int __base) { @@ -781,7 +781,7 @@ } template -_LIBCPP_HIDDEN _Tp +_LIBCPP_HIDE_FROM_ABI _Tp __num_get_unsigned_integral(const char* __a, const char* __a_end, ios_base::iostate& __err, int __base) { @@ -840,7 +840,7 @@ } template -_LIBCPP_HIDDEN +_LIBCPP_HIDE_FROM_ABI _Tp __num_get_float(const char* __a, const char* __a_end, ios_base::iostate& __err) { @@ -1384,7 +1384,7 @@ num_put<_CharT, _OutputIterator>::id; template -_LIBCPP_HIDDEN +_LIBCPP_HIDE_FROM_ABI _OutputIterator __pad_and_output(_OutputIterator __s, const _CharT* __ob, const _CharT* __op, const _CharT* __oe, @@ -1407,7 +1407,7 @@ } template -_LIBCPP_HIDDEN +_LIBCPP_HIDE_FROM_ABI ostreambuf_iterator<_CharT, _Traits> __pad_and_output(ostreambuf_iterator<_CharT, _Traits> __s, const _CharT* __ob, const _CharT* __op, const _CharT* __oe, @@ -1646,7 +1646,7 @@ #endif template -_LIBCPP_HIDDEN +_LIBCPP_HIDE_FROM_ABI int __get_up_to_n_digits(_InputIterator& __b, _InputIterator __e, ios_base::iostate& __err, const ctype<_CharT>& __ct, int __n) @@ -2814,7 +2814,7 @@ _LIBCPP_FUNC_VIS void __do_nothing(void*); template -_LIBCPP_HIDDEN +_LIBCPP_HIDE_FROM_ABI void __double_or_nothing(unique_ptr<_Tp, void(*)(void*)>& __b, _Tp*& __n, _Tp*& __e) {