[llvm-objcopy] [COFF] Implmement --strip-unneeded and -x/--discard-all for symbols
commit94427a9afdc2a8faf943ea9d3783239e858c7e99
authorMartin Storsjo <martin@martin.st>
Fri, 11 Jan 2019 14:13:04 +0000 (11 14:13 +0000)
committerMartin Storsjo <martin@martin.st>
Fri, 11 Jan 2019 14:13:04 +0000 (11 14:13 +0000)
treeb5068b49cc15fc2a5cdc14d29e806d1dd5983273
parent240fa2a2e33ddeba7b13f051157b05889ffa6e19
[llvm-objcopy] [COFF] Implmement --strip-unneeded and -x/--discard-all for symbols

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350927 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-objcopy/COFF/Inputs/discard-locals.yaml [new file with mode: 0644]
test/tools/llvm-objcopy/COFF/discard-all.test [new file with mode: 0644]
test/tools/llvm-objcopy/COFF/strip-unneeded.test [new file with mode: 0644]
tools/llvm-objcopy/COFF/COFFObjcopy.cpp