[lld] r181655 - [lld] Add help text for -flavor option.
Rui Ueyama
ruiu at google.com
Mon May 13 13:09:53 PDT 2013
>
>
>>
>> ==============================================================================
>> --- lld/trunk/lib/Driver/UniversalDriver.cpp (original)
>> +++ lld/trunk/lib/Driver/UniversalDriver.cpp Fri May 10 20:24:38 2013
>> @@ -102,7 +102,8 @@ Flavor selectFlavor(std::vector<const ch
>> // If flavor still undetermined, then error out.
>> if (flavor == Flavor::invalid)
>> diag << "error: failed to determine driver flavor from program name"
>> - " '" << args[0] << "'.\n";
>> + << " '" << args[0] << "'.\n"
>> + << "select a flavor with -flavor [gnu|darwin|core].\n";
>>
>
> Did you forget `link`?
>
"lld -flavor link" always shows the error message "unsupported flavor" so I
intentionally excluded one.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130513/ce5053e3/attachment.html>
More information about the llvm-commits
mailing list