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]
Other format: [Raw text]

Re: advice needed regarding c++ name mangling


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


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