OSDN Git Service

Let --discard-all imply --strip-debug.
authorSid Manning <sidneym@quicinc.com>
Fri, 3 May 2019 14:14:01 +0000 (14:14 +0000)
committerSid Manning <sidneym@quicinc.com>
Fri, 3 May 2019 14:14:01 +0000 (14:14 +0000)
commitcd541eae98f2124c1de24c9d53545c30abe1e674
treee9677ca0edb16a31811e9e00142b5d05eeb494f9
parent5ad1beb265c6140fc514bedd7629d437f4fed64c
Let --discard-all imply --strip-debug.

This will match gnu strip's behavior.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359887 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-objcopy/ELF/discard-all-debug.test [new file with mode: 0644]
tools/llvm-objcopy/CopyConfig.cpp