[cfe-dev] Clang i386-pc-win32 struct return-by-value doesn't match MSVC

Joe Groff arcata at gmail.com
Tue Jan 3 10:12:56 PST 2012

On Mon, Jan 2, 2012 at 10:49 AM, Michael Spencer <bigcheesegs at gmail.com> wrote:
> Note that pc-win32 currently uses the Itanium ABI. To properly test
> this you need to pass "-Xclang -cxx-abi -Xclang microsoft".
> I would like to switch pc-win32 over to using the microsoft ABI by
> default, even though it is not complete, as the code that it currently
> generates is mostly useless. However, I do know of one person that
> uses the current behavior with thunks to convert the ABI over ;/.

I attached some patches for Clang and LLVM to the issue I submitted:


Do these changes need to be predicated on the -cxx-abi setting?


More information about the cfe-dev mailing list