This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: documentation of g++ name mangling




On Wed, 24 Jan 2001, Kellogg, Oliver wrote:

> Hi,
>
> In the name mangling explanations of the G++ Internals
> document (http://gcc.gnu.org/onlinedocs/gxxint_1.html#SEC29),
> I read:
>
> " The letters `G', `M', `O', and `p' also seem to be used for obscure
> purposes ... "
>
> I found the letter G to be generated on a fairly common
> occasion (structs as parameters to methods.)
>
> Is there hope that this will be documented some time?
>
> (Motivation:
>  I'm trying to write a tool that automatically
>  produces GNAT interfacing code to G++ compiled methods,
>  and therefore need to know the exact mangled names.)

The name mangling changed as part of the move to the new ABI.


http://reality.sgi.com/dehnert_engr/cxx/

Look for the draft C++ abi, the mangling grammar should be there.
--Dan


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