[cfe-dev] [libcxx][libcxxabi] Use of thread_local in libcxxabi

Asiri Rathnayake via cfe-dev cfe-dev at lists.llvm.org
Tue Apr 26 05:20:08 PDT 2016


Hi Marshall,

(Guess you are back in the sunny part of the world? ;))

So, I noted that there is a bit of code in libcxxabi
(cxa_exception_storage.cpp) that uses thread_local (if explicitly enabled).
I'm wondering why we don't give this option in libcxx? It seems we always
delegate all TLS stuff in libcxx to pthreads.

Thanks!

- Asiri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160426/f7a8846e/attachment.html>


More information about the cfe-dev mailing list