This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils 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]

Re: dwarflint versus linkage_name attributes


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".


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