[llvm-strip] Support --strip-sections
authorWolfgang Pieb <Wolfgang.Pieb@sony.com>
Thu, 8 Aug 2019 00:35:16 +0000 (00:35 +0000)
committerWolfgang Pieb <Wolfgang.Pieb@sony.com>
Thu, 8 Aug 2019 00:35:16 +0000 (00:35 +0000)
commitab751a7c8b9b469c6a1fbeb7e5e62ba0b99fd3b9
tree29aeb1c8ca5573b95e4177bb7022cf37db2db0f0
parent80ef2f05d878fd6b00bbfb2ed1c04e2657d241cc
[llvm-strip] Support --strip-sections

llvm-objcopy already supports --strip-sections. It is a good fit for its alias llvm-strip
to support it as well.

Reviewers: rupprecht, jhenderson

Differential Revision: https://reviews.llvm.org/D65787

llvm-svn: 368241
llvm/test/tools/llvm-objcopy/ELF/strip-sections.test
llvm/tools/llvm-objcopy/CopyConfig.cpp
llvm/tools/llvm-objcopy/StripOpts.td