[PATCH] D21803: [libcxxabi] Provide a fallback __cxa_thread_atexit() implementation
Tavian Barnes via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 28 10:49:42 PDT 2016
tavianator created this revision.
tavianator added reviewers: danalbert, jroelofs.
tavianator added a subscriber: cfe-commits.
Herald added subscribers: danalbert, tberghammer.
__cxa_thread_atexit_impl() isn't present on all platforms, for example
Android pre-6.0. This patch uses a weak symbol to detect _impl()
support, falling back to a pthread_key_t-based implementation.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5126 bytes
Desc: not available
More information about the cfe-commits