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

Pavel Labath via libc-commits libc-commits at lists.llvm.org
Fri Oct 9 02:47:52 PDT 2026


https://github.com/labath commented:

The current changes look good. Just waiting for the test.

> 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?

Yeah, that's probably even better. Triggering a thread exit is better done by.. triggering a thread exit -- instead of exiting the whole process and then checking the state in the destructor.

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


More information about the libc-commits mailing list