[Fwd: Re: [PING][PATCH][RFC] vterminate use of malloc-less demangler]
Ian Lance Taylor
iant@google.com
Tue Mar 27 21:54:00 GMT 2007
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
More information about the Libstdc++
mailing list