diff options
author | Louis Dionne <ldionne@apple.com> | 2018-07-05 18:41:50 +0000 |
---|---|---|
committer | Louis Dionne <ldionne@apple.com> | 2018-07-05 18:41:50 +0000 |
commit | 195a499d638db5157a64c9c816b76154096ecd52 (patch) | |
tree | cc8b828d9c2b9f596d7ee41600d0c59efcad2867 /libcxx/src/support | |
parent | d8f5b2d612d2d612e9d0503752c00b43ed8f4ba7 (diff) | |
download | bcm5719-llvm-195a499d638db5157a64c9c816b76154096ecd52.tar.gz bcm5719-llvm-195a499d638db5157a64c9c816b76154096ecd52.zip |
Revert "[libc++] Replace uses of _LIBCPP_ALWAYS_INLINE by _LIBCPP_INLINE_VISIBILITY"
This reverts commit r336369. The commit had two problems:
1. __pbump was marked as _LIBCPP_EXTERN_TEMPLATE_INLINE_VISIBILITY instead of
_LIBCPP_INLINE_VISIBILITY, which lead to two symbols being added in the
dylib and the check-cxx-abilist failing.
2. The LLDB tests started failing because they undefine
`_LIBCPP_INLINE_VISIBILITY`. I need to figure out why they do that and
fix the tests before we can go forward with this change.
llvm-svn: 336382
Diffstat (limited to 'libcxx/src/support')
-rw-r--r-- | libcxx/src/support/win32/thread_win32.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/src/support/win32/thread_win32.cpp b/libcxx/src/support/win32/thread_win32.cpp index 47104942990..3f479443ee2 100644 --- a/libcxx/src/support/win32/thread_win32.cpp +++ b/libcxx/src/support/win32/thread_win32.cpp @@ -138,7 +138,7 @@ int __libcpp_condvar_destroy(__libcpp_condvar_t *__cv) } // Execute Once -static inline _LIBCPP_INLINE_VISIBILITY BOOL CALLBACK +static inline _LIBCPP_ALWAYS_INLINE BOOL CALLBACK __libcpp_init_once_execute_once_thunk(PINIT_ONCE __init_once, PVOID __parameter, PVOID *__context) { @@ -178,7 +178,7 @@ struct __libcpp_beginthreadex_thunk_data void *__arg; }; -static inline _LIBCPP_INLINE_VISIBILITY unsigned WINAPI +static inline _LIBCPP_ALWAYS_INLINE unsigned WINAPI __libcpp_beginthreadex_thunk(void *__raw_data) { auto *__data = |