On 29/10/12 19:43, Logan Chien wrote: > opt -load ${shared_lib_name} -hello < input.bc > output.bc > > You should first translate 1.c to bitcode before your are going > to use it as the input of the opt. Try: Maybe Vidya actually wants to write a clang plugin and is confusing that with an LLVM plugin? Ciao, Duncan.