[LLVMdev] fastcc, tail calls, and gcc
Eric Christopher
echristo at apple.com
Thu Feb 12 15:28:28 PST 2009
On Feb 12, 2009, at 3:23 PM, Albert Graef wrote:
> Jeff Kuskin wrote:
>> Correct? If not, how do I call a LLVM JIT-generated fastcc function
>> from a function statically compiled by GCC?
>
> Well, you can always generate a little wrapper function with C calling
> convention which just calls the fastcc function.
You can do a quick bit of assembly code to make sure that the
arguments are in the right registers for the call.
-eric
More information about the llvm-dev
mailing list