Displaying 2 results from an estimated 2 matches for "currentbb".
2011 Nov 11
2
[LLVMdev] Argument's types mismatch when creating CallInst.
...t;);
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 run Verifier:
llvm::Linker linker("myModule", runtimeModule);
linker.LinkInModule(myModule, &err);
llvm::verifyModule(*linke...
2011 Nov 11
0
[LLVMdev] Argument's types mismatch when creating CallInst.
...other 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 run Verifier:
>
> llvm::Linker linker("myModule", runtimeModule);
> linker.LinkInModule(...