[LLVMdev] store the LLVM-bitcode from a pass

Duncan Sands baldrick at free.fr
Fri Mar 13 04:28:52 PDT 2009


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.



More information about the llvm-dev mailing list