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

            Bug ID: 20129
           Summary: opt and llc hang trying to parse unspecified string
                    options
           Product: tools
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: opt
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Using tools built from r211521:

$ ./clang -v
clang version 3.5.0 (211521)
Target: x86_64-apple-darwin13.2.0
Thread model: posix

$ cat test.ll
define i32 @main() #0 {
entry:
  ret i32 0
}

$ ./opt -extract-blocks-file test.ll 
^C

(hang)


$ ./llc -break-anti-dependencies test.ll
^C

(hang)

But when passed via clang, we get:

$ ./clang -mllvm -extract-blocks-file test.ll 
clang (LLVM option parsing): for the -extract-blocks-file option: requires a
value!
$ ./clang -mllvm -break-anti-dependencies test.ll 
clang (LLVM option parsing): for the -break-anti-dependencies option: requires
a value!

-- 
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