[LLVMdev] [cfe-dev] Handling SRet on Windows x86

Anton Korobeynikov asl at math.spbu.ru
Thu Mar 28 11:58:24 PDT 2013


> A more specific question is - if I fix some Clang i686-pc-win32
> compatibility issue with MSVC for some language feature (e.g.
> returning a struct),
> should I make sure Clang i686-pc-mingw32 behavior is not changed by my
> patches (a)
> or should I make sure that Clang i686-pc-mingw32 generates
> MSVC-compatible ABI for the same feature (b)
> ?
You need to make sure you won't break the compatibility with gcc on
mingw. Regardless whether this is a) or b)

--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-dev mailing list