[llvm-bugs] [Bug 27000] New: lld: Windows command line "-target <value>" is treated as "<value> -target <void>"
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Mar 19 13:11:04 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=27000
Bug ID: 27000
Summary: lld: Windows command line "-target <value>" is treated
as "<value> -target <void>"
Product: lld
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: unassignedbugs at nondot.org
Reporter: mikar_gibbros at yahoo.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
lld: Windows command line "-target <value>" is treated as "<value> -target
<void>"
> lld -flavor link
no input files.
> lld -flavor link any_string
Could not open any_string: no such file or directory
> lld -flavor link -target
error: missing arg value for '-target' expected 1 argument(s).
> lld -flavor link -target any_string
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:
> lld -flavor link -target any_string
error: invalid arg value for '-target'.
no input files.
Also please add to the documentation 'Select the target, common options are
.../.../...'
--
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/20160319/eedda940/attachment.html>
More information about the llvm-bugs
mailing list