[cxx-abi-dev] Mangling of calling convention attributes

Nick Lewycky nlewycky at google.com
Mon May 18 20:52:54 UTC 2015


On 6 May 2015 at 07:57, Jason Merrill <jason at redhat.com> wrote:

> On 05/06/2015 08:49 AM, Richard Smith wrote:
>
>> The reason we chose Ua rather than U was that the ABI suggests that U4blah
>> should demangle as 'blah', whereas we want something that demanglers know
>> should become '__attribute__((blah))'. I have no particular strong
>> feelings
>> here.
>>
>
> Hmm, I don't think this is a useful distinction; what matters is the
> calling convention, not whether it was written with a GNU __attribute, a
> C++11 [[attribute]], a decl-specifier, or whatever.


The idea was to scope them, so Ua would be for attributes and we'd still
have room for Uc for calling conventions if we want some day.


>
> Jason
>
> _______________________________________________
> cxx-abi-dev mailing list
> cxx-abi-dev at codesourcery.com
> http://sourcerytools.com/cgi-bin/mailman/listinfo/cxx-abi-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/cxx-abi-dev/attachments/20150518/3532af56/attachment.html>


More information about the cxx-abi-dev mailing list