[PATCH] D62652: [llvm-objcopy][MachO] Recompute and update offset/size fields in the writer
Seiya Nuta via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 30 05:05:10 PDT 2019
seiya created this revision.
Herald added subscribers: llvm-commits, jakehehrlich.
Herald added a reviewer: alexshap.
Herald added a reviewer: rupprecht.
Herald added a reviewer: jhenderson.
Herald added a project: LLVM.
Recompute and update offset/size fields so that we can implement llvm-objcopy options like --only-section.
This patch is the first step and focuses on supporting load commands that covered by existing tests: executable files and
dynamic libraries are not supported.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D62652
Files:
llvm/test/tools/llvm-objcopy/MachO/Inputs/various-symbols.s
llvm/test/tools/llvm-objcopy/MachO/real-world-input-copy.test
llvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp
llvm/tools/llvm-objcopy/MachO/MachOReader.cpp
llvm/tools/llvm-objcopy/MachO/MachOWriter.cpp
llvm/tools/llvm-objcopy/MachO/MachOWriter.h
llvm/tools/llvm-objcopy/MachO/Object.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62652.202155.patch
Type: text/x-patch
Size: 17474 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190530/8ecad6c1/attachment.bin>
More information about the llvm-commits
mailing list