[lld] r326459 - Where possible use --long-opt=value in lld man page

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 1 13:57:08 PST 2018


We should just fix that so that we accept with and without =.


On Thu, Mar 1, 2018 at 1:27 PM Rafael Avila de Espindola via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> Ed Maste via llvm-commits <llvm-commits at lists.llvm.org> writes:
>
> > On 1 March 2018 at 13:40, Ed Maste via llvm-commits
> > <llvm-commits at lists.llvm.org> wrote:
> >> Author: emaste
> >> Date: Thu Mar  1 10:40:11 2018
> >> New Revision: 326459
> >>
> >> URL: http://llvm.org/viewvc/llvm-project?rev=326459&view=rev
> >> Log:
> >> Where possible use --long-opt=value in lld man page
> >>
> >> We intend to maintain compatibility with GNU ld, and in the GNU world
> >> long options are conventionally specified as --long-option=value. For
> >> whatever reason GNU ld.bfd accepts both --long-option value and
> >> --long-option=value, but documents the former.
> >
> > That should of course be "documents the latter."
> >
> > Long options also supported by bfd/gold, where lld does not accept the =
> form:
> >
> > --auxiliary value
> > --dynamic-linker value
> > --oformat format
> > --section-start address
> >
> > lld-specific long options where = is not accepted:
> >
> > --lto-O opt-level
> > --opt-remarks-filename file
> > --symbol-ordering-file file
> > --thinlto-cache-policy file
>
> Please open a bug about it.
>
> Thanks,
> Rafael
> _______________________________________________
> 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/20180301/733b47cb/attachment.html>


More information about the llvm-commits mailing list