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: unassignedb...@nondot.org Reporter: mikar_gibb...@yahoo.com CC: llvm-bugs@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.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs