You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* This is needed to avoid linking with "__cxa_thread_atexit_impl" function, that require too new (2.18) glibc library.
11
+
*
12
+
* Note: "__cxa_thread_atexit_impl" may provide sophisticated implementation to correct destruction of thread-local objects,
13
+
* that was created in different DSO. Read https://sourceware.org/glibc/wiki/Destructor%20support%20for%20thread_local%20variables
14
+
* We simply don't need this implementation, because we don't use thread-local objects from different DSO.
15
+
*/
16
+
9
17
#include"abort_message.h"
10
18
#include"cxxabi.h"
11
19
#include<__threading_support>
@@ -21,15 +29,6 @@ namespace __cxxabiv1 {
21
29
22
30
using Dtor = void(*)(void*);
23
31
24
-
extern"C"
25
-
#ifndef HAVE___CXA_THREAD_ATEXIT_IMPL
26
-
// A weak symbol is used to detect this function's presence in the C library
27
-
// at runtime, even if libc++ is built against an older libc
28
-
_LIBCXXABI_WEAK
29
-
#endif
30
-
int__cxa_thread_atexit_impl(Dtor, void*, void*);
31
-
32
-
#ifndef HAVE___CXA_THREAD_ATEXIT_IMPL
33
32
34
33
namespace {
35
34
// This implementation is used if the C library does not provide
0 commit comments