how to runFunction? passing in an int

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!

gafferuk <gafferuk@gmail.com> writes:

I wish to run a function passing in an int value of 5 as a single parameter.

[snip]

Look at the last lines of examples/Fibonacci/fibonacci.cpp