http://llvm.org/bugs/show_bug.cgi?id=20129

Reid Kleckner <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |WORKSFORME

--- Comment #1 from Reid Kleckner <[email protected]> ---
opt and llc are designed, like most unix tools, to accept input from stdin if
you don't specify an input file.  Both of these options consume a value, and in
this case test.ll is consumed by the option.

Clang's -mllvm is an escaping mechanism, it doesn't know anything about the
structure of LLVM options.  You have to use it like so:

$ clang -mllvm -extract-blocks-file -mllvm test.ll
clang.exe: error: no input files

In your clang command line, LLVM's option parsing is seeing the command line
'-extract-blocks-file', and expecting a value where there is none.

Does that answer your question?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to