[cfe-dev] Custom calling conventions in C code

Matthijs Kooijman matthijs at stdin.nl
Mon Jun 23 02:28:24 PDT 2008


Hi all,

LLVM supports arbitrary, backend specific calling conventions, besides the
standard predefined ones. I want to be able to compile C programs using some
custom calling conventions, but I couldn't find any way to mark a specific
program in my C source as using some arbitrary, custom calling convention (not
in C itself, clang or gcc extensions).

Is there any way to accomplish this, or should there be one?

Gr.

Matthijs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20080623/b675cca3/attachment.sig>


More information about the cfe-dev mailing list