[PATCH] D55881: [llvm-objcopy] [COFF] Add support for removing symbols and sections

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 19 01:27:05 PST 2018


mstorsjo created this revision.
mstorsjo added reviewers: jhenderson, alexshap, jakehehrlich, rnk.
Herald added subscribers: rupprecht, mgorny.

As much of the updating relating to removing symbols and sections is intertwined, I didn't want to split this into any smaller pieces. The code in COFFObjcopy.cpp is pretty far based on ELFObjcopy.cpp, while the helpers in Object.cpp are new and unique for this backend.


Repository:
  rL LLVM

https://reviews.llvm.org/D55881

Files:
  test/tools/llvm-objcopy/COFF/Inputs/x86_64-debug-exe.yaml
  test/tools/llvm-objcopy/COFF/X86/lit.local.cfg
  test/tools/llvm-objcopy/COFF/X86/remove-local-symbols.s
  test/tools/llvm-objcopy/COFF/X86/remove-section1.s
  test/tools/llvm-objcopy/COFF/X86/remove-section2.s
  test/tools/llvm-objcopy/COFF/X86/remove-symbol1.s
  test/tools/llvm-objcopy/COFF/X86/remove-symbol2.s
  test/tools/llvm-objcopy/COFF/discard-all.test
  test/tools/llvm-objcopy/COFF/strip-executable.test
  test/tools/llvm-objcopy/COFF/strip-object.test
  tools/llvm-objcopy/CMakeLists.txt
  tools/llvm-objcopy/COFF/COFFObjcopy.cpp
  tools/llvm-objcopy/COFF/Object.cpp
  tools/llvm-objcopy/COFF/Object.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55881.178846.patch
Type: text/x-patch
Size: 35616 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181219/d8575ac9/attachment-0001.bin>


More information about the llvm-commits mailing list