[PATCH] D15943: Add support for headerpad_max_install_names cmdline option
Pete Cooper via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 6 17:18:24 PST 2016
pete created this revision.
pete added a reviewer: lhames.
pete added subscribers: kledzik, llvm-commits.
pete added a project: lld.
Hi Lang
This adds support for -headerpad_max_install_names which pads the header by enough bytes so that the dylib ID and loaded dylib paths can all be extended to MAXPATHLEN.
Thanks,
Pete
http://reviews.llvm.org/D15943
Files:
include/lld/ReaderWriter/MachOLinkingContext.h
lib/Driver/DarwinLdDriver.cpp
lib/Driver/DarwinLdOptions.td
lib/ReaderWriter/MachO/MachOLinkingContext.cpp
lib/ReaderWriter/MachO/MachONormalizedFile.h
lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
lib/ReaderWriter/MachO/WriterMachO.cpp
test/mach-o/headerpad_max_install_names.yaml
unittests/MachOTests/MachONormalizedFileBinaryReaderTests.cpp
unittests/MachOTests/MachONormalizedFileBinaryWriterTests.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15943.44183.patch
Type: text/x-patch
Size: 41973 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160107/1e3aa1f0/attachment-0001.bin>
More information about the llvm-commits
mailing list