This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PING][PATCH][RFC] vterminate use of malloc-less demangler
- From: Ian Lance Taylor <iant at google dot com>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: Simon Baldwin <simonb at google dot com>, libstdc++ at gcc dot gnu dot org
- Date: 02 Mar 2007 08:54:58 -0800
- Subject: Re: [PING][PATCH][RFC] vterminate use of malloc-less demangler
- References: <45CCE3FB.3040406@google.com> <45D0A36F.8050104@redhat.com> <45D20966.1020708@google.com> <45E828D1.8040904@redhat.com>
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