[LLVMdev] Options in OPT

Timo Juhani Lindfors timo.lindfors at iki.fi
Mon Oct 12 10:55:39 PDT 2009


Juan Carlos Martinez Santos <juanc.martinez.santos at gmail.com> writes:
> ~/test$ opt -analyze hello.ll -o hello.bc -S
> opt: Unknown command line argument '-S'.  Try: 'opt --help'

Works for me:

$ opt -analyze hello.ll -o hello.bc -S
$ file hello.*
hello.bc: empty
hello.ll: ASCII text

Maybe you have too old opt?

> I also try 'opt --help'; but the option is not listed.

Try opt --help-hidden.




More information about the llvm-dev mailing list