[libc-commits] [libc] [libc][stdlib] initial support for __cxa_finalize (PR #85865)

Mayank meena via libc-commits libc-commits at lists.llvm.org
Sat Nov 28 08:03:56 PST 2026


Mayank9963 wrote:

i read the atexit.cpp and exithandler.h. #85865 left the dso parameter unsed in the _cxa_atexit and ingnored the non null dso values in __cxa_finalize.
it can be completed by storeing void *dso in ATtexitUnit and handling non-null dso in call_exit_callback. covering both FixedVector and ReverseOrderBlockstore, marking the called with null and restart scan after unlocking, I will also add unit test in atexit_test.cpp
i would like to complete this , if u can assign it to me.  also tell if there is any mistake or edge case. 

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


More information about the libc-commits mailing list