[cfe-dev] Calling Conventions

Chris Lattner clattner at apple.com
Tue Apr 15 20:04:35 PDT 2008


On Apr 15, 2008, at 6:48 PM, Jon Sargeant wrote:

> Hello,
>
> What support does clang have for calling conventions?  I'm looking for
> some code that converts a C function type with a particular calling
> convention (cdecl, stdcall, or fastcall) into an LLVM function type.

Right now, clang's calling conv lowering code is very primitive.  It  
is sufficient for some simple cases, but we haven't put much effort  
into codegen yet.  I expect that this will start getting more emphasis  
in a couple months.

-Chris



More information about the cfe-dev mailing list