[LLVMdev] Mixing calling conventions

Jon Harrop jon at ffconsultancy.com
Wed Dec 17 22:42:50 PST 2008


On Thursday 18 December 2008 05:17:06 Chris Lattner wrote:
> There is nothing special you need to do.  The only thing to  be
> careful of is that the callee and call instruction must both have the
> same calling convention set on them.

Ah, ok I wasn't setting the calling convention on the calls, just on the 
functions. Wonderful, I think I've figured this out now... :-)

Thanks,
-- 
Dr Jon Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/?e



More information about the llvm-dev mailing list