__cxa_finalize and `on_exit'
Jason Merrill
jason at cygnus.com
Mon Dec 20 01:29:25 UTC 1999
>>>>> Mark Mitchell <mark at codesourcery.com> writes:
> Perhaps you missed the earlier thread. The problem is that
> __cxa_finalize does not take the exit code, so it cannot call on_exit
> functions.
Yes, I remember the earlier discussion; I'm talking about the case Martin
brought up. That is, when we can't modify the C library, so we need to
handle destructors and std::atexit separately. In that case, we would need
to keep a separate list for C++ bits.
Jason
More information about the cxx-abi-dev
mailing list