GCC to open the C++ demangle API?

John Levon levon@movementarian.org
Mon Mar 4 11:07:00 GMT 2002


On Mon, Mar 04, 2002 at 12:28:03PM -0500, Phil Edwards wrote:

> To be a drop-in replacement for the libiberty stuff, you would need to
> provide those two functions as wrappers to your own demangler.  That way
> existing code won't change.  Take a look at libiberty/cp-demangle.c.

Would this mean I can get the source code equivalent of "c++filt -s
auto" without having to link against the rest of the code ?

As it is it's impossible to split out the demangler code from much of
the rest of libiberty (without making bug merges difficult)

That's what I personally would like.

regards
john

-- 
I am a complete moron for forgetting about endianness. May I be
forever marked as such.



More information about the Gcc mailing list