This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

g++ demangling specification?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]