[LLVMdev] Fwd: [cfe-dev] Handling SRet on Windows x86
arcata at gmail.com
Thu Mar 28 08:22:07 PDT 2013
On Wed, Mar 27, 2013 at 8:15 PM, Chandler Carruth <chandlerc at google.com>wrote:
> This is why I suggest that the Windows ABI is whatever MSVC happens to do.
> The mingw ABI happens to consist of a conjunction of what MSVC does for C
> and what GCC on Linux does for C++. That is a unique and different ABI, and
> I don't think you can reasonably call it *just* "windows" at any point.
> This isn't quite true. Mingw and MSVC's ABIs on i386 also differ at the C
level—for instance, alignment of pass-by-value structs sometimes differs,
and an sret pointer is callee-cleanup in MSVC but caller-cleanup in Mingw.
There are other differences too.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev