Hello together, I use the "opt" as following, to run my pass, which modifies the LLVM-IR by inserting instructions in basic-blocks. opt -load ..../Decorator.so -dec <prog.bc> /dev/null how can i store the modified bitcode on the disc (as bitcode or as human-readable assembly)? Regards Raad -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090313/f74a1ae0/attachment.html>
Hi Raad,> opt -load ..../Decorator.so -dec <prog.bc> /dev/null > > how can i store the modified bitcode on the disc (as bitcode or as human-readable assembly)?opt -load ..../Decorator.so -dec <prog.bc> new_prog.bc Ciao, Duncan.