This is an archive of the discontinued LLVM Phabricator instance.

[llvm-strip] Support --keep and --strip-all-gnu from llvm-objcopy
ClosedPublic

Authored by rupprecht on Oct 31 2018, 3:38 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

rupprecht created this revision.Oct 31 2018, 3:38 PM
This revision is now accepted and ready to land.Oct 31 2018, 6:38 PM
jhenderson accepted this revision.Nov 1 2018, 3:35 AM

LGTM, with the typo fix.

tools/llvm-objcopy/StripOpts.td
26 ↗(On Diff #172034)

Typo: "Compaitable" -> "Compatible"

rupprecht updated this revision to Diff 172125.Nov 1 2018, 8:22 AM
  • Fix typos
This revision was automatically updated to reflect the committed changes.
rupprecht marked an inline comment as done.

The option name`--keep` was introduced to llvm-objcopy in https://reviews.llvm.org/D39021
Have you considered --keep-section?