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

Ed Maste via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 1 10:59:22 PST 2018


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


More information about the llvm-commits mailing list