Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mangling examples


  • To: cxx-abi@xxxxxxxxxxxx
  • Subject: Re: Mangling examples
  • From: dehnert@xxxxxxxxxxxxxxxxxxxx (Jim Dehnert)
  • Date: Fri, 24 Mar 2000 20:51:29 -0800 (PST)

Martin von Loewis wrote:
> 
> I have some corrections for the mangling examples
> 
> _ZN1N1fE                 N::f (i.e. it's not a function)
> _ZN6System5Sound4beepE   System::Sound::beep  (likewise)

Actually, both could be either a data item or a function.  I've fixed that.

> _Z1fI1XE vPV N1AIT1_E1T  should be _Z1fI1XEvPVN1AIT1_EE
                                     _Z1fI1XEvPVN1AIT1_E1TE

> _ZngILi42EE vN1AIXplT1_Li2EE1TE     has an extra space

The spaces are intentional for readability (not much, I know) -- ignore them,
per the column header.
 
> 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 &)

Thanks.  I added these.  Is the second one right, or should it be encoded
as a pointer to int?  (I don't know the C++ rule on this.)

Jim

-	    Jim Dehnert		dehnert@xxxxxxx
				(650)933-4272