diff options
| author | Louis Dionne <ldionne@apple.com> | 2019-12-10 18:00:42 -0500 |
|---|---|---|
| committer | Louis Dionne <ldionne@apple.com> | 2019-12-10 19:19:45 -0500 |
| commit | dd37e24ae62329d8376b7989dc2e3a53be30622a (patch) | |
| tree | e03a7e7f0078658b5ba69c2879292f12c7089107 /libcxx/include/thread | |
| parent | 2fb07b90dc1c2c08fe6fc69c9d569a1fc2c8a8e1 (diff) | |
| download | bcm5719-llvm-dd37e24ae62329d8376b7989dc2e3a53be30622a.tar.gz bcm5719-llvm-dd37e24ae62329d8376b7989dc2e3a53be30622a.zip | |
[libc++] Hide some functions and types in <future> and <thread> as hidden
Otherwise, weak symbols leak into user programs when using `async` with
non-internal types.
Diffstat (limited to 'libcxx/include/thread')
| -rw-r--r-- | libcxx/include/thread | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/include/thread b/libcxx/include/thread index 02da703c3cc..3b55342288d 100644 --- a/libcxx/include/thread +++ b/libcxx/include/thread @@ -274,6 +274,7 @@ __thread_execute(tuple<_TSp, _Fp, _Args...>& __t, __tuple_indices<_Indices...>) } template <class _Fp> +_LIBCPP_INLINE_VISIBILITY void* __thread_proxy(void* __vp) { // _Fp = std::tuple< unique_ptr<__thread_struct>, Functor, Args...> |

