This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: documentation of g++ name mangling
- To: "Kellogg, Oliver" <Oliver dot Kellogg at vs dot dasa dot de>
- Subject: Re: documentation of g++ name mangling
- From: Daniel Berlin <dberlin at redhat dot com>
- Date: Wed, 24 Jan 2001 09:23:47 -0500 (EST)
- cc: "'gcc at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>
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