This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Fwd: 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: 27 Mar 2007 14:54:22 -0700
- Subject: Re: [Fwd: Re: [PING][PATCH][RFC] vterminate use of malloc-less demangler]
- References: <46094AE1.9030006@google.com> <460954DD.4090401@redhat.com>
Benjamin Kosnik <bkoz@redhat.com> writes:
> Dude. I know this is out there, no need to re-ping the same patch over
> and over.
>
> I'm too busy on other work to work up an API for you at the
> moment. You'll have to hold on. Sorry.
>
> My suggestion would be to look at the demangler API from 3.4 that I
> pointed you at (ie something templatized on Allocator), or come up
> with a less-opaque "C" API for a public extension function for
> cxxabi.h that just takes a FILE, mangled char*, status, and returns
> nothing or an error code in status.
Honest, we already thought about the C API. And we already discussed
it over here when it went in:
http://gcc.gnu.org/ml/gcc-patches/2007-01/msg01116.html
I don't think it's all that opaque, and I believe it's actually well
designed for the problem.
Ian