[LLVMdev] write IR on file

Rahil Rahimian rahil_rahimian at yahoo.com
Tue Aug 23 08:25:07 PDT 2011


hi
how can i write IRinstruction on a file.txt? when i use  {for(inst_iterator I = inst_begin(F), E = inst_end(F); I != E; ++I,count++)  IRcodefile << std::basic_ostream(*I) <<"\n" } i get  error.
is there any way that i can write it on file?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110823/fc07e69c/attachment.html>


More information about the llvm-dev mailing list