[cfe-commits] [PATCH] Encoding calling conventions in FunctionTypes

Anton Korobeynikov anton at korobeynikov.info
Wed Jan 6 11:32:30 PST 2010


Hello, Everyone

> I'm not convinced that this is the correct formulation of the
> canonical type, because we may have to cope with the fact that the
> default calling convention is the same as the cdecl calling convention
> (always? for some targets? I don't know when).
Well, at least on win there should be weird mode when default calling
conv is stdcall (mostly for compatibility with vcpp-generated code,
etc).
mainline gcc supports this, llvm-gcc - doesn't (but there is PR for this).

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



More information about the cfe-commits mailing list