I am creating an LLVM function call. How can I pass void pointer as an argument to that call. I have "_testFunc" as my function and need to pass void pointer as argument.
llvm::Function *testFunc= m_mod->getFunction("_testFunc");
llvm::IRBuilder<> builder(instruction.getNextNode());
llvm::Value *arg = argument is void pointer
builder.CreateCall(testFunc, arg);
So this arg has to be a void pointer.