This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC to open the C++ demangle API?
- From: dewar at gnat dot com (Robert Dewar)
- To: apm35 at student dot open dot ac dot uk, jason at redhat dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 20 Mar 2002 07:51:36 -0500 (EST)
- Subject: Re: GCC to open the C++ demangle API?
<This does not appear to be a standard to me.
I would call it a documented convention for the Itanium environment.
I do like the documentation though, especially the use of BNF.
Thankyou for drawing my attention to this. If only this would be adopted
by ISO.
>
To me it would seem a bit odd for ISO to adopt this as part of the language
definition. Is it really the case that name mangling has anything whatsoever
to do with the C++ language. To me it is just a low level implementation
approach to solving low level implementation problems, and is definitely
not the only approach. GNAT for example does not need to do name mangling
in the same kind of way at all, and if we did not have annoying limitations
like no dots in external identifiers, we would encode names even less than
we do now.