[PATCH] D21803: [libcxxabi] Provide a fallback __cxa_thread_atexit() implementation

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 1 17:15:42 PDT 2016


EricWF added a comment.

In https://reviews.llvm.org/D21803#532347, @jroelofs wrote:

> In https://reviews.llvm.org/D21803#532309, @EricWF wrote:
>
> > `__thread`
> >
> > What do you think of this idea?
>
>
> You'll have to guard it against all the platforms that don't support TLS. Darwin 10.6 is one of them.


Which is fine because we shouldn't supply a definition of `__cxa_thread_atexit` on those platforms.

We might have to guard against it to keep libc++abi building, but if the platform doesn't support TLS then


https://reviews.llvm.org/D21803





More information about the cfe-commits mailing list