[PATCH] D47558: Simplify `ld.lld --help` message.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 30 14:15:41 PDT 2018


ruiu created this revision.
ruiu added a reviewer: pcc.
Herald added subscribers: arichardson, emaste, srhines.
Herald added a reviewer: espindola.

Previously, we printed out two lines of help messages for `--foo bar`
and `--foo=bar` like this:

  --soname=<value>        Set DT_SONAME
  --soname <value>        Set DT_SONAME
  --sort-section=<value>  Specifies sections sorting rule when linkerscript is used
  --sort-section <value>  Specifies sections sorting rule when linkerscript is used

This change eliminates duplicate lines that doesn't contain `=` for such
options like this.

  --soname=<value>        Set DT_SONAME
  --sort-section=<value>  Specifies sections sorting rule when linkerscript is used


https://reviews.llvm.org/D47558

Files:
  lld/ELF/Options.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47558.149201.patch
Type: text/x-patch
Size: 14434 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180530/2d2c42a1/attachment.bin>


More information about the llvm-commits mailing list