[PATCH] D46896: [llvm-objcopy] Add --strip-unneeded option

Paul Semel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 17 08:06:44 PDT 2018


paulsemel updated this revision to Diff 147321.
paulsemel added a comment.

Applied some suggestions.
For the moment, a counter has been implemented for the references.. waiting for some suggestions to change this.
Same, I let the ET_* things, waiting for some thoughts about it.


Repository:
  rL LLVM

https://reviews.llvm.org/D46896

Files:
  test/tools/llvm-objcopy/strip-unneeded-dyn.test
  test/tools/llvm-objcopy/strip-unneeded-exec.test
  test/tools/llvm-objcopy/strip-unneeded-rel.test
  tools/llvm-objcopy/ObjcopyOpts.td
  tools/llvm-objcopy/Object.cpp
  tools/llvm-objcopy/Object.h
  tools/llvm-objcopy/llvm-objcopy.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46896.147321.patch
Type: text/x-patch
Size: 10940 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180517/337ec59c/attachment.bin>


More information about the llvm-commits mailing list