advice needed regarding c++ name mangling

Nathan Sidwell nathan@codesourcery.com
Thu Mar 10 18:03:00 GMT 2005


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



More information about the Gcc mailing list