This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: advice needed regarding c++ name mangling
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: Razya Ladelsky <RAZYA at il dot ibm dot com>
- Cc: gcc at gcc dot gnu dot org, mark at codesourcery dot com
- Date: Thu, 10 Mar 2005 18:02:36 +0000
- Subject: Re: advice needed regarding c++ name mangling
- Organization: Codesourcery LLC
- References: <OFDF201ED4.4C5A6F0C-ONC2256FC0.003DC9EB-C2256FC0.003F7D7B@il.ibm.com>
Razya Ladelsky wrote:
Hi,
My case is this:
I version the operator<< function and name it operator<<.number (creating
an identifier which is not valid in the source code).
The assembly name created for the versioned function is the same as the
tree identifier, which is not valid for the assembler.
I tried creating an assembly name into DECL_ASSEMBER_NAME (using
decl_assembler_name()) as soon as a version is created. It didn't work. I
guess there's something I am missing.
I'd appreciate some advice :)
could you step back and explain the big picture?
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk