[Patch] Mangle C __stdcall and __fastcall in clang

Anton Korobeynikov anton at korobeynikov.info
Wed Oct 9 11:48:43 PDT 2013


> Doesn't mingw need these manglings to match the Windows C ABI?
Correct, it does need it.

Another problem, which is much more severe, is that moving mangling in
clang will force non-clang users to handle the mangling by themselves.

Also, keep in mind, that gcc on linux does support stdcall / fastcall
calling conventions, but does not mangle the stuff.

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



More information about the cfe-commits mailing list