This is an archive of the discontinued LLVM Phabricator instance.

Simplify `ld.lld --help` message.
ClosedPublic

Authored by ruiu on May 30 2018, 2:15 PM.

Details

Summary

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

Diff Detail

Repository
rLLD LLVM Linker

Event Timeline

ruiu created this revision.May 30 2018, 2:15 PM
pcc accepted this revision.May 30 2018, 2:21 PM

LGTM

This revision is now accepted and ready to land.May 30 2018, 2:21 PM
This revision was automatically updated to reflect the committed changes.