Displaying 2 results from an estimated 2 matches for "runfunctionn".
Did you mean:
runfunction
2016 Jul 15
2
More function signatures for LLVMRunFunction?
...the runFunction there is a
copy-paste from MCJIT (minus the finalize() stuff).
Definitely. I'd be happy to see something like this in ORC, and I think
> there would be other people who would appreciate it too.
>
The basic approach I am using is to add a function to TargetMachine called
runFunctionNatively:
virtual GenericValue runFunctionNatively(Function *F, void *FPtr,
ArrayRef<GenericValue> ArgValues);
This houses most of the duplicated code currently in runFunction, and can
then be called from either MCJIT or OrcMCJITReplacement. I then have an
override for X86TargetMachine that...
2016 Jul 11
2
More function signatures for LLVMRunFunction?
Hello,
I am new to LLVM, and came across a snag when working through tutorials.
With the MC JIT execution engine, LLVMRunFunction only works on
"main()"-like functions -- other functions fail with the message
"Full-featured argument passing not supported yet!". The workaround
recommended by the tutorials is to create a main()-compatible wrapper
function and to send in