[PATCH] D46369: [llvm-objcopy] Add --strip-symbol (-N) option

Paul Semel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 6 11:05:57 PDT 2018


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

This change include the handling of symbols referred by group sections.
It also forbids relocation symbol removal for relocatable ELF (like GNU objcopy).


Repository:
  rL LLVM

https://reviews.llvm.org/D46369

Files:
  test/tools/llvm-objcopy/strip-symbol.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: D46369.145404.patch
Type: text/x-patch
Size: 8137 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180506/44142e0e/attachment.bin>


More information about the llvm-commits mailing list