[LLVMdev] Options in OPT

Samuel Crow samuraileumas at yahoo.com
Mon Oct 12 11:13:23 PDT 2009


Hi Juan Carlos,

It looks to me like you're trying to read in LLVM Assembly and output bitcode.  That is the opposite of what -S is supposed to be for.  I'm not sure why it isn't recoginizing the -S option but it looks like there's more wrong than what you're reporting.

--Sam


>
>From: Juan Carlos Martinez Santos <juanc.martinez.santos at gmail.com>
>To: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu>
>Sent: Mon, October 12, 2009 11:59:53 AM
>Subject: [LLVMdev] Options in OPT
>
>
>Hello,
> 
>There is an option that I don't know how to used it.
> 
>-S
>
>Write output in LLVM intermediate language (instead of bitcode). 
>
> 
>The option appears in the documentation, but I try to use it... I get the next message:
> 
>~/test$ opt -analyze hello.ll -o hello.bc -S
>opt: Unknown command line argument '-S'.  Try: 'opt --help'
> 
>I also try 'opt --help'; but the option is not listed.
> 
>I am using wrong the -S option, or there is something else.
> 
>Thanks in advance,
>
>-- 
>Juan Carlos
>


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091012/58908b25/attachment.html>


More information about the llvm-dev mailing list