<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - opt and llc hang trying to parse unspecified string options"
   href="http://llvm.org/bugs/show_bug.cgi?id=20129">20129</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>opt and llc hang trying to parse unspecified string options
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>tools
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>opt
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>spatel+llvm@rotateright.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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!</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>