llvm-project/lld/lib/ReaderWriter/MachO
Pete Cooper b8fec3ea62 Set max segment protection level.
The initial segment protection was also being used to set the maximum
segment protection level.  Instead, the maximum should be set according
to the architecture we are linking.  For example on Mac OS it should be
RWX on most pages, but on iOS is often on R_X.

rdar://problem/24515136

llvm-svn: 259966
2016-02-06 00:51:16 +00:00
..
ArchHandler.cpp Fix heap-buffer-overflow bugs identified by the Address Sanitizer 2015-02-19 20:42:23 +00:00
ArchHandler.h Add pointerKind() method to the MachO ArchHandler's. NFC. 2016-02-02 00:02:50 +00:00
ArchHandler_arm.cpp Add pointerKind() method to the MachO ArchHandler's. NFC. 2016-02-02 00:02:50 +00:00
ArchHandler_arm64.cpp Add pointerKind() method to the MachO ArchHandler's. NFC. 2016-02-02 00:02:50 +00:00
ArchHandler_x86.cpp Add pointerKind() method to the MachO ArchHandler's. NFC. 2016-02-02 00:02:50 +00:00
ArchHandler_x86_64.cpp Add pointerKind() method to the MachO ArchHandler's. NFC. 2016-02-02 00:02:50 +00:00
Atoms.h Move SimpleDefinedAtom::addReference to DefinedAtom. 2016-02-01 23:42:10 +00:00
CMakeLists.txt Add an ObjCPass to the MachO linker. 2016-01-19 21:54:21 +00:00
CompactUnwindPass.cpp Set ordinals of all File's created in MachO passes. 2016-02-02 01:52:40 +00:00
ExecutableAtoms.h __mh_execute_header atoms should be global and never dead strippped. 2016-02-02 22:19:01 +00:00
File.h Generate version min load commands when the platform is unknown. 2016-02-04 02:16:08 +00:00
FlatNamespaceFile.h [lld][MachO] Fix indentation. 2015-10-20 21:47:19 +00:00
GOTPass.cpp Set ordinals of all File's created in MachO passes. 2016-02-02 01:52:40 +00:00
LayoutPass.cpp Added some DEBUG() prints to make it clearer what the mach-o passes are doing. NFC. 2015-12-16 19:12:49 +00:00
LayoutPass.h Fix Clang-tidy misc-use-override warnings, other minor fixes. 2015-09-10 18:51:36 +00:00
MachOLinkingContext.cpp Use unsigned long long instead of uint64_t to appease bots 2016-02-04 02:50:47 +00:00
MachONormalizedFile.h Set max segment protection level. 2016-02-06 00:51:16 +00:00
MachONormalizedFileBinaryReader.cpp Generate version min load commands when the platform is unknown. 2016-02-04 02:16:08 +00:00
MachONormalizedFileBinaryUtils.h Don't emit relocs for the __eh_frame section as they can be implicit. 2016-01-07 21:07:26 +00:00
MachONormalizedFileBinaryWriter.cpp Set max segment protection level. 2016-02-06 00:51:16 +00:00
MachONormalizedFileFromAtoms.cpp Set max segment protection level. 2016-02-06 00:51:16 +00:00
MachONormalizedFileToAtoms.cpp Generate version min load commands when the platform is unknown. 2016-02-04 02:16:08 +00:00
MachONormalizedFileYAML.cpp Set max segment protection level. 2016-02-06 00:51:16 +00:00
MachOPasses.h Add an ObjCPass to the MachO linker. 2016-01-19 21:54:21 +00:00
ObjCPass.cpp Fixed comment characters. NFC 2016-02-02 00:05:47 +00:00
SectCreateFile.h Add File::kind's for all subclasses of File. 2016-01-14 22:55:38 +00:00
ShimPass.cpp Set ordinals of all File's created in MachO passes. 2016-02-02 01:52:40 +00:00
StubsPass.cpp Set ordinals of all File's created in MachO passes. 2016-02-02 01:52:40 +00:00
TLVPass.cpp Set ordinals of all File's created in MachO passes. 2016-02-02 01:52:40 +00:00
WriterMachO.cpp Rename ExecutableAtom.hpp to ExecutableAtom.h 2015-04-14 21:06:56 +00:00