<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:rnk@google.com" title="Reid Kleckner <rnk@google.com>"> <span class="fn">Reid Kleckner</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - opt and llc hang trying to parse unspecified string options"
href="http://llvm.org/bugs/show_bug.cgi?id=20129">bug 20129</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>rnk@google.com
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>WORKSFORME
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - opt and llc hang trying to parse unspecified string options"
href="http://llvm.org/bugs/show_bug.cgi?id=20129#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - opt and llc hang trying to parse unspecified string options"
href="http://llvm.org/bugs/show_bug.cgi?id=20129">bug 20129</a>
from <span class="vcard"><a class="email" href="mailto:rnk@google.com" title="Reid Kleckner <rnk@google.com>"> <span class="fn">Reid Kleckner</span></a>
</span></b>
<pre>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?</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>