[cfe-dev] How to demangle _ZN3foocvPT_I3barEEv?

Marshall Clow mclow.lists at gmail.com
Mon Feb 11 07:05:07 PST 2013


On Monday 11 February 2013 14:06:45 fakju666 wrote:
> Can anyone tell me what this is supposed to demangle to:
> 
> _ZN3foocvPT_I3barEEv
> 
> I got this in a call graph generated by opt, and this is the only name that
> c++filt can't process. I think the problem is with the "T_" identifier,
> because c++filt is happy if I replace it with "S_":
> 
> foo::operator foo<bar>*()

$ c++filt -n _ZN3foocvPT_I3barEEv
foo::operator bar*<bar>()

"-n" means "don't strip leading underscore"

-- Marshall

Marshall Clow     Idio Software   <mailto:mclow.lists at gmail.com>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
        -- Yu Suzuki





More information about the cfe-dev mailing list