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

via libc-commits libc-commits at lists.llvm.org
Tue Oct 6 02:20:27 PDT 2026


shri-acha wrote:

@michaelrj-google 
> Goals: Move __cxa_thread_atexit_impl into its own entrypoint

I've gone ahead and implemented the entrypoint through the reference of `pthread` 's `__pthread_cleanup_*` methods, it was relatively forward and introduced a `add_thread_atexit_callback()` method that uses the thread-local exit callback manager.
 
> add tests as relevant

I'm not aware of what nature of tests I should be implementing, could you elaborate me on that?

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


More information about the libc-commits mailing list