[LLVMdev] print out instruction

Po-Chun Hsu pchsu at umich.edu
Tue Nov 18 15:54:23 PST 2008

When I try to print out a instruction by the following way, I am getting the
error message below.
Anyone knows what's the problem?

Instruction* inst;

testbuild.cpp:178: error: no matching function for call to
/x/pchsu/llvm/llvm-2.4/include/llvm/Value.h:83: note: candidates are: void
llvm::Value::print(std::ostream&, llvm::AssemblyAnnotationWriter*) const
/x/pchsu/llvm/llvm-2.4/include/llvm/Value.h:84: note:                 void
llvm::Value::print(llvm::raw_ostream&, llvm::AssemblyAnnotationWriter*)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20081118/1b16e526/attachment.html>

More information about the llvm-dev mailing list