search for: tlv_atexit

Displaying 1 result from an estimated 1 matches for "tlv_atexit".

Did you mean: _tlv_atexit
2018 Dec 10
2
using emulated-tls on Darwin 8, 9, 10
....orig 2018-10-02 18:31:17.000000000 -0700 +++ b/tools/clang/lib/CodeGen/ItaniumCXXABI.cpp 2018-10-02 18:32:35.000000000 -0700 @@ -2255,7 +2255,7 @@ const char *Name = "__cxa_atexit"; if (TLS) { const llvm::Triple &T = CGF.getTarget().getTriple(); - Name = T.isOSDarwin() ? "_tlv_atexit" : "__cxa_thread_atexit"; + Name = (T.isOSDarwin() && !T.isMacOSXVersionLT(10, 7)) ? "_tlv_atexit" : "__cxa_thread_atexit"; }