Displaying 2 results from an estimated 2 matches for "retzval".
Did you mean:
retval
2011 Nov 11
2
[LLVMdev] Argument's types mismatch when creating CallInst.
...tx);
then this:
fooFunction = runtimeModule->getFunction("foo");
myType = runtimeModule->getTypeByName("type");
After that, i'm creating another module:
myModule = new Module("My Module", llctx);
and create some AllocaInsts with type %type:
AllocaInst * retZval = new AllocaInst(myType,
"arg1",
currentBB);
Finally, i do
CallInst::Create(fooFunction, args_vector, "", currentBB);
Everything seems to be fine so far.
Now i link two modules together and ru...
2011 Nov 11
0
[LLVMdev] Argument's types mismatch when creating CallInst.
...dule->getFunction("foo");
> myType = runtimeModule->getTypeByName("type");
>
> After that, i'm creating another module:
>
> myModule = new Module("My Module", llctx);
>
> and create some AllocaInsts with type %type:
>
> AllocaInst * retZval = new AllocaInst(myType,
> "arg1",
> currentBB);
>
> Finally, i do
>
> CallInst::Create(fooFunction, args_vector, "", currentBB);
>
> Everything seems to be fine so far.
&...