[PATCH] D71331: [llvm-objcopy][MachO][NFC] Allow section to own its contents
Seiya Nuta via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 11 02:02:17 PST 2019
seiya created this revision.
Herald added a reviewer: alexshap.
Herald added a reviewer: rupprecht.
Herald added a reviewer: jhenderson.
Herald added subscribers: llvm-commits, abrachet.
Herald added a project: LLVM.
This patch allows section to have owned section contents instead of a reference. This feature is necessary when we want to create a new section in the object (e.g., --add-section).
I'll commit this patch along with D66283 <https://reviews.llvm.org/D66283> since this patch does not include test cases for newly added code.
https://reviews.llvm.org/D71331
Files:
llvm/tools/llvm-objcopy/MachO/MachOLayoutBuilder.cpp
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/Object.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71331.233278.patch
Type: text/x-patch
Size: 6025 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191211/b0efd99d/attachment.bin>
More information about the llvm-commits
mailing list