[PATCH] Bug 14984 - Implement __attribute__((ms_abi))
Charles Davis
cdavis5x at gmail.com
Thu Aug 29 18:48:42 PDT 2013
On Aug 29, 2013, at 7:38 PM, Richard Smith wrote:
> 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.
Heh. :)
I think I know what he's talking about. Something like this, maybe?
Chip
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130829/15c65a3a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-ms_abi-and-sysv_abi-attribute-handling.patch
Type: application/octet-stream
Size: 15847 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130829/15c65a3a/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130829/15c65a3a/attachment-0001.html>
More information about the cfe-commits
mailing list