[PATCH] D46341: [llvm-objcopy] Add --discard-all (-x) option

Paul Semel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 1 16:27:18 PDT 2018


paulsemel created this revision.
paulsemel added reviewers: echristo, jakehehrlich, jhenderson, alexshap.

This option removes all local symbols from the binary.
I tried to follow GNU Binutils behavior as much as I could.


Repository:
  rL LLVM

https://reviews.llvm.org/D46341

Files:
  test/tools/llvm-objcopy/discard-all.test
  tools/llvm-objcopy/Object.cpp
  tools/llvm-objcopy/Object.h
  tools/llvm-objcopy/Opts.td
  tools/llvm-objcopy/llvm-objcopy.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46341.144812.patch
Type: text/x-patch
Size: 5584 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180501/8e6eddfa/attachment.bin>


More information about the llvm-commits mailing list