This is an archive of the discontinued LLVM Phabricator instance.

[llvm-objcopy] Make -S an alias for --strip-all
ClosedPublic

Authored by jakehehrlich on Sep 17 2018, 12:05 PM.

Details

Summary

-S should be an alias for --strip-all not an alias for --strip-all-gnu which at best has imaginary use cases. llvm-objcopy's --strip-all has proven to be compatible with the uses of --strip-all in GNU objcopy in huge code bases with no complaints. llvm-objcopy's --strip-all makes binaries smaller and has a more principled definition.

Diff Detail

Repository
rL LLVM

Event Timeline

jakehehrlich created this revision.Sep 17 2018, 12:05 PM
This revision is now accepted and ready to land.Sep 17 2018, 12:40 PM
tpimh accepted this revision.Sep 17 2018, 11:44 PM

@jakehehrlich Jake, would you mind committing this ?

Hey, sorry. I've been gone for 2 weeks between ICFP/Strange Loop and being in Seattle. Commit this now.

jakehehrlich closed this revision.Oct 24 2018, 5:05 PM