[lld] r267032 - ELF: support -- version of discard-{all,locals}

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 25 09:17:07 PDT 2016


On Sun, Apr 24, 2016 at 9:59 AM, Saleem Abdulrasool via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> On Sun, Apr 24, 2016 at 7:27 AM, Ed Maste <emaste at freebsd.org> wrote:
>
>> On 24 April 2016 at 14:08, Rafael EspĂ­ndola <llvm-commits at lists.llvm.org>
>> wrote:
>> > Please delete the one dash version if we are the only one the supports
>> it.
>>
>> GNU ld's man page claims either one or two dashes can be used for all
>> multi-letter options, except that those starting with 'o' must have
>> two dashes.
>>
>
> Ugh; sorry about the bad commit message.  I had checked gold and forgotten
> about the interesting thing about the "TWO_DASHES" flag -- two dashes are
> *preferred*, one dash is permitted.
>

Looking at Options.td, we have bunch of options that have only single dash
or double dashes (and not starting with 'o'). We should fix them.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160425/f5d7de31/attachment-0001.html>


More information about the llvm-commits mailing list