[LLVMdev] store the LLVM-bitcode from a pass

Duncan Sands baldrick at free.fr
Fri Mar 13 07:34:38 PDT 2009


On Friday 13 March 2009 14:52:19 RAAD B wrote:
> These are the contents of the generated file.

It looks like you appended the bitcode to an
existing file.  Did you use >> rather than >.
Or are you on (horrors!) windows?  Anyway, you
can always do this:

  opt  -load  ..../Decorator.so -dec prog.bc -o new_prog.bc

Ciao,

Duncan.



More information about the llvm-dev mailing list