Speeing up __cxa_atexit

Gabriel Dos Reis gdr@codesourcery.com
Thu Jun 6 11:05:00 GMT 2002


Mark Mitchell <mark@codesourcery.com> writes:

[...]

| See my point about what happens if users replace functions like malloc.

Certainly I don't undertand what is really going on, but I'm sure when
the user replaces malloc(), he/she invokes undefined behaviour.
He/she can however replace operator new() -- that is why some
implementations of quality use malloc() (or any other homegrown
allocators) for their internals.

-- Gaby



More information about the Gcc mailing list