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

Sean Silva via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 25 22:24:43 PDT 2016


On Mon, Apr 25, 2016 at 9:17 AM, Rui Ueyama via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> 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.
>
>
This sounds like a perfect match for TableGen (e.g. defining a custom class
for this).

-- Sean Silva


> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160425/62ebf7d8/attachment.html>


More information about the llvm-commits mailing list