Displaying 3 results from an estimated 3 matches for "cxa_thread_atexit".
Did you mean:
__cxa_thread_atexit
2018 Dec 10
2
using emulated-tls on Darwin 8, 9, 10
...d be in business, and all systems will have thread_local .
All that being sorted out, we now have libc++ 7.0.0 and libc++abi built and being used with emulated-tls support on darwin < 11 now. Thanks!
The last bit of this I plan to sort out would be how to tweak the following patch so that __cxa_thread_atexit would be called based on the -femulated-tls flag rather than based on the MacOSXVersion. That way emulated-tls could be used/tested on any OS version. -- Ken
==========================
--- a/tools/clang/lib/CodeGen/ItaniumCXXABI.cpp.orig 2018-10-02 18:31:17.000000000 -0700
+++ b/tools/clang/lib/...
2016 Jan 22
3
[cfe-dev] [3.8 Release] RC1 has been tagged
...ale.categories/category.time/locale.time.get.byname/get_monthname_wide.pass.cpp
>
These are marked XFAIL on open-suse, They should probably be marked as
XFAIL on your platform as well.
Can you send me the output of Python's "platform.linux_distribution()"?
> libc++abi :: cxa_thread_atexit_test.pass.cpp
>
Not sure about this failure. Can you send me the output?
>
> Expected Passes : 31153
> Expected Failures : 203
> Unsupported Tests : 518
> Unexpected Failures: 27
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Uploads:
> 7b837b2c4b7884a4277b947b79...
2018 Dec 07
2
using emulated-tls on Darwin 8, 9, 10
...00000 -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";
}
// We're assuming that the destructor function is something we can
--- a/tools/clang/lib/Basic/Targets/OSTargets.h.orig 2018-10-02 17:14:10.000000000 -07...