<html>
<head>
<base href="https://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 --- - lld: Windows command line "-target <value>" is treated as "<value> -target <void>""
href="https://llvm.org/bugs/show_bug.cgi?id=27000">27000</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>lld: Windows command line "-target <value>" is treated as "<value> -target <void>"
</td>
</tr>
<tr>
<th>Product</th>
<td>lld
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</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>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mikar_gibbros@yahoo.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>lld: Windows command line "-target <value>" is treated as "<value> -target
<void>"
<span class="quote">> lld -flavor link</span >
no input files.
<span class="quote">> lld -flavor link any_string</span >
Could not open any_string: no such file or directory
<span class="quote">> lld -flavor link -target</span >
error: missing arg value for '-target' expected 1 argument(s).
<span class="quote">> lld -flavor link -target any_string</span >
ignoring unknown argument: -target
Could not open any_string: no such file or directory
lld knows what -target is if it is missing it's argument but then doesn't know
what it is if it has an argument.
Please fix this bug, it should be:
<span class="quote">> lld -flavor link -target any_string</span >
error: invalid arg value for '-target'.
no input files.
Also please add to the documentation 'Select the target, common options are
.../.../...'</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>