On Tue, 2011-04-05 at 07:57 -0600, Tom Tromey wrote: 
> Mark>              MIPS_linkage_name    (string) "1t"
> 
> Mark> So the first question is, how do I demangle this "1t"?
> 
>       demangled = cplus_demangle (part_die->linkage_name, DMGL_TYPES);

Just for reference. Everybody else knew already of course, this
corresponds to c++filt -t:

   -t
   --types
       Attempt to demangle types as well as function names.  This is
       disabled by default since mangled types are normally only used
       internally in the compiler, and they can be confused with non-
       mangled names.  For example, a function called "a" treated as a
       mangled type name would be demangled to "signed char".

_______________________________________________
elfutils-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/elfutils-devel

Reply via email to