[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
Tue Oct 6 05:51:44 PDT 2026


================
@@ -1596,6 +1592,7 @@ if(LLVM_LIBC_FULL_BUILD)
     libc.src.search.twalk_r
 
     # threads.h entrypoints
+    libc.src.threads.__cxa_thread_atexit_impl
----------------
labath wrote:

Please enable the function on aarch64 and riscv as well (those are the architectures with a functional threading runtime).

I'm not sure about putting this function into threads.h, but I don't think we also have a precedent for an entry point without a header. @michaelrj-google, what are your thoughts on this?

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


More information about the libc-commits mailing list