This is an archive of the discontinued LLVM Phabricator instance.

Consolidate --foo and --no-foo options. NFC.
ClosedPublic

Authored by ruiu on Feb 2 2018, 11:29 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

ruiu created this revision.Feb 2 2018, 11:29 AM
smeenai added inline comments.
lld/ELF/Options.td
57 ↗(On Diff #132638)

This looks like it's the wrong way around?

74 ↗(On Diff #132638)

Same here.

320 ↗(On Diff #132638)

This should use the imperative tone to be consistent with all other options ("Restore the default behavior" instead of "Restores the default behavior"). I know you're just copying it from elsewhere, but this seems like a good opportunity to fix it.

ruiu updated this revision to Diff 132652.Feb 2 2018, 12:31 PM

Address Shoaib's comments.

ruiu updated this revision to Diff 132653.Feb 2 2018, 12:32 PM

"Always DT_NEEDED for shared libraries" -> "Always set DT_NEEDED for shared libraries"

Harbormaster completed remote builds in B14564: Diff 132653.
smeenai accepted this revision.Feb 2 2018, 1:15 PM

LGTM

This revision is now accepted and ready to land.Feb 2 2018, 1:15 PM
This revision was automatically updated to reflect the committed changes.