[PATCH] D54674: [llvm-objcopy] First bits for MachO

Alexander Shaposhnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 17 18:53:09 PST 2018


alexshap created this revision.
alexshap added reviewers: compnerd, jakehehrlich, jhenderson.
alexshap created this object with visibility "All Users".
Herald added subscribers: rupprecht, mgrang, mgorny.

This diff adds the ability to copy without modification MachO object files.
The code will obviously evolve, significantly change and extend in the future, so will do the tests,
this is just the beginning to start the ball rolling.

Test plan: make check-all


Repository:
  rL LLVM

https://reviews.llvm.org/D54674

Files:
  test/tools/llvm-objcopy/MachO/Inputs/macho.o
  test/tools/llvm-objcopy/MachO/basic-copy.test
  test/tools/llvm-objcopy/MachO/basic-little-endian-copy.test
  test/tools/llvm-objcopy/MachO/real_world_input_copy.test
  tools/llvm-objcopy/CMakeLists.txt
  tools/llvm-objcopy/MachO/MachOObjcopy.cpp
  tools/llvm-objcopy/MachO/MachOObjcopy.h
  tools/llvm-objcopy/MachO/MachOReader.cpp
  tools/llvm-objcopy/MachO/MachOReader.h
  tools/llvm-objcopy/MachO/MachOWriter.cpp
  tools/llvm-objcopy/MachO/MachOWriter.h
  tools/llvm-objcopy/MachO/Object.h
  tools/llvm-objcopy/llvm-objcopy.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54674.174524.patch
Type: text/x-patch
Size: 46452 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181118/ca063a07/attachment.bin>


More information about the llvm-commits mailing list