g++ demangling specification?
Andrew Haley
aph@redhat.com
Tue Nov 12 08:24:00 GMT 2002
Christian Parpart writes:
> WARNING: Unsanitized content follows.
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all,
>
> I want to demangle the c++ names generated by g++ I can get
> using typeid(TYPE).name().
> I tried to find it out myself but it really look more complex than I
> ever dreamed about, so, where can I find a name mangling
> specification for C++ using in g++ 3.2?
>
> (at least gdb *must* demangle the names, how does he do that?)
It's in libiberty: see cp-demangle.c.
Andrew.
More information about the Gcc
mailing list