[PING][PATCH][RFC] vterminate use of malloc-less demangler

Ian Lance Taylor iant@google.com
Fri Mar 2 16:57:00 GMT 2007


Benjamin Kosnik <bkoz@redhat.com> writes:

> I'm of the opinion that something like __cxa_demangle_no_alloc, ie
> something much simpler and direct, without all the callback goo, would
> be a much cleaner route to get where you want to go. Then, you could
> use this no-alloc routine in __verbose_terminate_handler. Or,
> __cxa_demangle_callback if you can convince me that there is ever
> going to be more than one callback...

Can you expand on this suggestion?  What would be the parameters and
return value of __cxa_demangle_no_alloc?

Ian



More information about the Libstdc++ mailing list