[LLVMbugs] [Bug 20129] New: opt and llc hang trying to parse unspecified string options

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jun 25 15:26:51 PDT 2014


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: unassignedbugs at nondot.org
          Reporter: spatel+llvm at rotateright.com
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140625/84f2f388/attachment.html>


More information about the llvm-bugs mailing list