You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[libc++abi] Always use thread_local for cxa_exception_storage
This was previously guarded by HAS_THREAD_LOCAL, which was never set by
CMake and had to be specified manually. Android has been setting this to
solve android/ndk#1200 [1], but every compiler
and platform libc++abi supports should have thread_local by now, so we
can just get rid of the fallback implementation and simplify things
significantly (including removing the now unused fallback calloc).
This is a re-application of https://reviews.llvm.org/D138461.
Fixes#78207.
[1]: https://android-review.googlesource.com/c/toolchain/llvm-project/+/1285596
Co-Authored-By: Shoaib Meenai <[email protected]>
0 commit comments