[PATCH] D63395: [llvm-objcopy][MachO] Copy load commands used in executables and shared libraries
Seiya Nuta via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 16 20:48:43 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.
This patch implements copying some load commands that appear in executables/shared libraries such as the indirect symbol table.
I don't add tests intentionally because this patch is incomplete: we need a layout algorithm for executables/shared libraries. I'll submit it as a separate patch with tests.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D63395
Files:
llvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp
llvm/tools/llvm-objcopy/MachO/MachOReader.cpp
llvm/tools/llvm-objcopy/MachO/MachOReader.h
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: D63395.204990.patch
Type: text/x-patch
Size: 20472 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190617/352f548a/attachment.bin>
More information about the llvm-commits
mailing list