[PATCH] D15956: Support -headerpad cmdline option
Pete Cooper via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 7 10:14:01 PST 2016
pete created this revision.
pete added a reviewer: lhames.
pete added subscribers: kledzik, llvm-commits.
pete added a project: lld.
Hi Lang
(Note this depends on http://reviews.llvm.org/D15943).
This extends the header pad generation we have to also support the -headerpad *size* option.
Similarly to ld64, if both -headerpad_max_install_names and -headerpad are passed, then we take the maximum of the two.
Comments welcome.
Thanks,
Pete
http://reviews.llvm.org/D15956
Files:
include/lld/ReaderWriter/MachOLinkingContext.h
lib/Driver/DarwinLdDriver.cpp
lib/Driver/DarwinLdOptions.td
lib/ReaderWriter/MachO/MachOLinkingContext.cpp
lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15956.44226.patch
Type: text/x-patch
Size: 4722 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160107/0c08c842/attachment.bin>
More information about the llvm-commits
mailing list