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

Paul Semel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 18 04:08:23 PDT 2018


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

Not stripping Global/Weak symbols regardless the elf type.


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.147468.patch
Type: text/x-patch
Size: 11830 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180518/1da9c348/attachment.bin>


More information about the llvm-commits mailing list