I wish to run a function passing in an int value of 5 as a single parameter.
can you please complete the code as all the examples I can find are old.
llvm::Function *EntryFn = Mod->getFunction("createModule");
if (!EntryFn) {
return 255;
}
else
{
EE->runFunction(EntryFn, ???????);
}
Thank you!
--
View this message in context:
http://old.nabble.com/how-to-runFunction--passing-in-an-int-tp29479138p29479138.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.
Seemingly Similar Threads
- [LLVMdev] clang: call extern function using JIT
- [LLVMdev] clang: call extern function using JIT
- [LLVMdev] clang: call extern function using JIT
- [LLVMdev] How to use EE->runFunction for a function with StructRet set?
- [LLVMdev] clang: call extern function using JIT