[PATCH] D65539: [llvm-objcopy][MachO] Implement a layout algorithm for executables/shared libraries
Seiya Nuta via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 31 14:35:02 PDT 2019
seiya created this revision.
Herald added subscribers: llvm-commits, abrachet, jakehehrlich.
Herald added a reviewer: alexshap.
Herald added a reviewer: rupprecht.
Herald added a reviewer: jhenderson.
Herald added a project: LLVM.
The layout algorithm for relocatable objects and for executable/shared libraries
are somewhat different. This patch implements the latter one based on the
algorithm in LLD (MachOFileLayout).
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D65539
Files:
llvm/test/tools/llvm-objcopy/MachO/basic-executable-copy.test
llvm/test/tools/llvm-objcopy/MachO/basic-shared-library-copy.test
llvm/tools/llvm-objcopy/MachO/MachOLayoutBuilder.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65539.212665.patch
Type: text/x-patch
Size: 24220 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190731/7c078277/attachment.bin>
More information about the llvm-commits
mailing list