[libcxx-commits] [libcxxabi] [libc++abi] Always use thread_local for cxa_exception_storage (PR #79868)

Ryan Prichard via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jun 21 09:11:03 PDT 2024


rprichard wrote:

If I understand correctly, it's a no-op for Android, so it's good from Android's PoV. 

For reference: Android's LLVM uses `-DHAS_THREAD_LOCAL` to build the on-device libc++ at https://android.googlesource.com/toolchain/llvm_android/+/ea4c394073ce48ca43a15ca87f4ecc702d4c60a0/builders.py#1126. I believe the comment there about RISC-V lacking TLS is out-of-date.


https://github.com/llvm/llvm-project/pull/79868


More information about the libcxx-commits mailing list