[PATCH] Bug 14984 - Implement __attribute__((ms_abi))

Richard Smith richard at metafoo.co.uk
Thu Aug 29 18:38:45 PDT 2013


On Thu, Aug 29, 2013 at 6:12 PM, Reid Kleckner <rnk at google.com> wrote:

> On Thu, Aug 29, 2013 at 6:11 PM, Richard Smith <richard at metafoo.co.uk>wrote:
>
>> I'd prefer that the ms_abi and sysv_abi attributes are instead mapped to
>> different calling conventions on different targets (so we never use
>> CC_X86_64SysV in cases where it is the same as CC_C).
>>
>
> I believe the last patch implements that.
>

Hmm, maybe I'm looking at the wrong patch then. The patch that I'm looking
at always maps AT_MSABI to CC_X86_64Win64, then does a fixup from that to
CC_C in checkCallingConvention for some targets.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130829/f9bc5f12/attachment.html>


More information about the cfe-commits mailing list