1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/tools/llvm-objcopy/MachO
Alexander Shaposhnikov 1130a0fbe6 [llvm-objcopy][MachO] Fix segment size alignment
This diff addresses the old TODO in MachOObjcopy.cpp and
correctly sets the page size used for alignment of segments.
In particular, now llvm-objcopy's output is consistent
with the input (the alignment of vmsize doesn't change).

Test plan:

1. make check-all
2. verify that a binary copied via llvm-objcopy now correctly works on iOS.

Differential revision: https://reviews.llvm.org/D82503
2020-06-29 23:55:21 -07:00
..
MachOLayoutBuilder.cpp NFC: Inline unused variable 2020-06-16 08:29:52 +02:00
MachOLayoutBuilder.h Recommit "[llvm-objcopy][MachO] Support load commands used in executables/shared libraries" 2019-08-19 21:05:31 +00:00
MachOObjcopy.cpp [llvm-objcopy][MachO] Fix segment size alignment 2020-06-29 23:55:21 -07:00
MachOObjcopy.h Update new files added to llvm-objcopy to use the new file header. 2019-02-11 08:25:19 +00:00
MachOReader.cpp [llvm-objcopy][MachO] Add support for LC_CODE_SIGNATURE 2020-06-15 18:55:59 -07:00
MachOReader.h [llvm-objcopy][MachO] Add support for LC_CODE_SIGNATURE 2020-06-15 18:55:59 -07:00
MachOWriter.cpp [llvm-objcopy][MachO] Add support for LC_CODE_SIGNATURE 2020-06-15 18:55:59 -07:00
MachOWriter.h [llvm-objcopy][MachO] Add support for LC_CODE_SIGNATURE 2020-06-15 18:55:59 -07:00
Object.cpp [llvm-install-name-tool] Implement delete_rpath option 2020-06-22 16:49:49 -07:00
Object.h [llvm-install-name-tool] Implement delete_rpath option 2020-06-22 16:49:49 -07:00