llvm-project/lld/lib/ReaderWriter/MachO
Pete Cooper 3a92c35539 __mh_execute_header atoms should be global and never dead strippped.
In r259574 I fixed some of the issues with the mach header symbols
and DSO handles.

This is the next issue whereby the __mh_execute_header has to not
be dead stripped, and (to match ld64) should be dynamically referenced.

The test here should also have been added in r259574 to make sure that
we emit this symbol.  But checking that it is not only emitted but also
has the correct reference type is fine.

llvm-svn: 259589
2016-02-02 22:19:01 +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 MachoFile should default to using subsections_via_symbols. 2016-02-01 22:24:44 +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 Add support for export_dynamic cmdline option and behaviour. 2016-01-22 21:13:24 +00:00
MachONormalizedFile.h Add more debugging output to MachO lld. NFC. 2015-12-16 22:03:21 +00:00
MachONormalizedFileBinaryReader.cpp Use MemoryBufferRef instead of MemoryBuffer&. NFC. 2015-04-27 22:48:51 +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 Use an ilist instead of std::list. NFC. 2016-01-25 21:50:54 +00:00
MachONormalizedFileFromAtoms.cpp __mh_execute_header atoms should be global and never dead strippped. 2016-02-02 22:19:01 +00:00
MachONormalizedFileToAtoms.cpp Move SimpleDefinedAtom::addReference to DefinedAtom. 2016-02-01 23:42:10 +00:00
MachONormalizedFileYAML.cpp [lld][MachO] Recognize __thread_bss sections as zero-fill and set all the 2015-12-11 23:25:09 +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