[LLVMdev] clang: call extern function using JIT
anton at korobeynikov.info
Wed Aug 18 08:29:02 CDT 2010
> Im confused. The function i wish to call is a return type of int.
You're creating the function which returns i32 and have exactly one i32 argument
> Im calling it with int dd = yipee(1);
This way you're calling int yipee(...) according to C standard
(because you haven't declared this previously).
> What's wrong?
I have not idea, but this is at least one thing which needs to be addressed.
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the LLVMdev