diff options
author | Louis Dionne <ldionne@apple.com> | 2019-11-11 10:21:57 -0500 |
---|---|---|
committer | Louis Dionne <ldionne@apple.com> | 2019-11-11 10:27:48 -0500 |
commit | 48b7068beca9d3a39dcfbebcb384b59b7898065f (patch) | |
tree | b3955a64b5645be1f12540512ef0daaa9bea61de | |
parent | abbbf9880c272da7a3db5de40a91dcbddac8bb50 (diff) | |
download | bcm5719-llvm-48b7068beca9d3a39dcfbebcb384b59b7898065f.tar.gz bcm5719-llvm-48b7068beca9d3a39dcfbebcb384b59b7898065f.zip |
[libc++] Mark __call_once_proxy as hidden and internal
We effectively never want to export that function, which is an
implementation detail of libc++. This was previously tried in
603715c66b6b and then reverted in 8335dd314f36 because it caused
linker warnings. These linker warnings should go away now that we
use internal_linkage instead of always_inline to implement per-TU
insulation.
-rw-r--r-- | libcxx/include/mutex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/mutex b/libcxx/include/mutex index 8fc3c61221b..62780bd0734 100644 --- a/libcxx/include/mutex +++ b/libcxx/include/mutex @@ -650,7 +650,7 @@ public: #endif template <class _Fp> -void +void _LIBCPP_INLINE_VISIBILITY __call_once_proxy(void* __vp) { __call_once_param<_Fp>* __p = static_cast<__call_once_param<_Fp>*>(__vp); |