Mangling examples

Martin von Loewis loewis at informatik.hu-berlin.de
Wed Mar 22 14:41:55 UTC 2000


I have some corrections for the mangling examples

_ZN1N1fE                 N::f (i.e. it's not a function)
_ZN6System5Sound4beepE   System::Sound::beep  (likewise)

_Z1fI1XE vPV N1AIT1_E1T  should be _Z1fI1XEvPVN1AIT1_EE
_ZngILi42EE vN1AIXplT1_Li2EE1TE     has an extra space 
(the next ones do, as well - this is not really a problem, except
 when you cut'n paste it into a demangler :-)

Here are some more examples:

_Z3fooIiPFidEiEv         void foo<int,int(*)(double),int>()
_ZaSA4_i                 operator=(int[4])
_ZlsRSoRKSs              operator<<(std::ostream&,std::string const&)
(i.e. really operator<<(::std::basic_iostream<char,
std::char_traits<char> >&,::std::basic_string <char,::std::char_traits<char>,
		       ::std::allocator<char> > const &)
 

Regards,
Martin




More information about the cxx-abi-dev mailing list