[libc-commits] [libc] [llvm] [libc] Moves __cxa_thread_atexit_impl into proper entrypoint (PR #229347)

via libc-commits libc-commits at lists.llvm.org
Wed Oct 7 03:16:11 PDT 2026


shri-acha wrote:

> Since we now have an actual header that declares the function you can drop the ad-hoc function definition from those tests (just add `LIBC_NAMESPACE::` to the calls).

Thanks :), I managed to fix the existing tests(except FreeBSD one, which it seems to be a problem with the setup CI mentioned on the [discord](https://discord.com/channels/636084430946959380/636732994891284500/1557170490949242991)) with what you suggested. Now that the existing tests are fixed, I'll be working to get a test, probably something that spawns some threads and `THREAD_LOCAL` objects and chck their order of destruction. perhaps, something similar to what is done in `pthread_exit_test.cpp`, as it seems more similar? 

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


More information about the libc-commits mailing list