[LLVMdev] reference to non-static member function must be called

Reid Kleckner rnk at google.com
Wed Jan 8 10:19:20 PST 2014


On Wed, Jan 8, 2014 at 12:25 AM, JinHuang <54jin.huang at gmail.com> wrote:
>
>                         Instruction *inst =
> CallInst::Create(print,args,"",&SI);
>

Where is "print" defined here?  It looks like it's referencing
FunctionPass::print(), which explains your error message (non-static member
function without calling it).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140108/288d6095/attachment.html>


More information about the llvm-dev mailing list