This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
g++ demangling specification?
- From: Andrew Haley <aph at redhat dot com>
- To: Christian Parpart <cparpart at surakware dot net>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 12 Nov 2002 16:16:32 +0000 (GMT)
- Subject: g++ demangling specification?
- References: <200211121707.45286.cparpart@surakware.net>
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.