[cfe-dev] How to demangle _ZN3foocvPT_I3barEEv?

Tim Northover t.p.northover at gmail.com
Mon Feb 11 07:25:30 PST 2013

> Just a guess, but usually, C++ symbols start with a double '_'.

That depends on the host platform. OSX puts an underscore before every
symbol, Linux doesn't (and Windows does something completely different
for C++).

Incidentally, my c++filt doesn't reproduce Marshall's findings either:

$ c++filt -n _ZN3foocvPT_I3barEEv

I couldn't make it fit anywhere in the specification either, but I'm
not an expert there.



More information about the cfe-dev mailing list