search for: args_vector

Displaying 2 results from an estimated 2 matches for "args_vector".

Did you mean: arg_vector
2011 Nov 11
2
[LLVMdev] Argument's types mismatch when creating CallInst.
...le = 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(*linker.releaseModule()); This gives me error: Call parameter typ...
2011 Nov 11
0
[LLVMdev] Argument's types mismatch when creating CallInst.
...> > 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(*linker.releaseModule()); > &g...