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

Benno Rice benno at freebsd.org
Tue Jun 18 03:25:21 PDT 2013


On 12/06/2013, at 10:40 PM, Reid Kleckner <rnk at google.com> wrote:

> On Wed, Jun 12, 2013 at 7:13 AM, Charles Davis <cdavis5x at gmail.com> wrote:
> 
> You mean like in my patch here:
> 
> http://llvm-reviews.chandlerc.com/D729
> 
> ?
> 
> Yeah, that looks good to me.  :)
> 
> From the docs, it seems attr(ms_abi) just maps to x86_64_win64cc and x86_stdcallcc depending on the architecture:
> http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html#index-g_t_0040code_007bsysv_005fabi_007d-attribute-2670
> gcc also appears to support a sysv_abi attribute, which lets you use the sysv CCs when targeting Windows.

So what's in the way of this being committed? Is there anything I can do that would accelerate things?

Cheers,
	Benno.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130618/aa2a4f53/attachment.html>


More information about the cfe-commits mailing list