llvm-project/lld/test/MachO
Jez Ng c7c9776f77 [lld-macho] Allow the entry symbol to be dynamically bound
Apparently this is used in real programs. I've handled this by reusing
the logic we already have for branch (function call) relocations.

Reviewed By: #lld-macho, smeenai

Differential Revision: https://reviews.llvm.org/D87852
2020-09-25 11:28:33 -07:00
..
Inputs [lld-macho] Disable invalid/stub-link.s test for Mac 2020-08-27 11:24:22 -07:00
invalid [lld-macho] Disable invalid/stub-link.s test for Mac 2020-08-27 11:24:22 -07:00
tools lld/mach-o: Make tool scripts from 2124ca1d5c py2.7-compatible 2020-09-19 09:17:02 -04:00
arch.s [lld-macho] Avoid explicit -arch in tests by defaulting to x86-64 2020-06-17 20:41:27 -07:00
archive.s [lld-macho] Implement -all_load 2020-08-26 19:21:17 -07:00
bss.s [lld-macho] Ensure .tbss sections are also considered as ZeroFilled 2020-08-07 11:04:41 -07:00
common-symbol-coalescing.s [lld-macho][re-land] Initial support for common symbols 2020-09-24 15:00:20 -07:00
common-symbol-resolution.s [lld-macho][re-land] Implement and test resolution of common symbols 2020-09-24 15:00:56 -07:00
compact-unwind-pie.s [lld-macho] Implement support for PIC 2020-09-25 11:28:31 -07:00
compact-unwind.test [lld-macho] create __TEXT,__unwind_info from __LD,__compact_unwind 2020-09-18 22:01:03 -07:00
dso-handle.s [lld-macho] Support GOT relocations to __dso_handle 2020-08-27 17:44:17 -07:00
dylib.s [lld-macho] Avoid explicit -arch in tests by defaulting to x86-64 2020-06-17 20:41:27 -07:00
dylink-lazy.s [lld-macho] Implement support for PIC 2020-09-25 11:28:31 -07:00
dylink.s [lld-macho] Support binding dysyms to any section 2020-07-02 21:21:01 -07:00
entry-symbol.s [lld-macho] Allow the entry symbol to be dynamically bound 2020-09-25 11:28:33 -07:00
export-trie.s [lld-macho] Export trie addresses should be relative to the image base 2020-09-20 20:43:15 -07:00
fat-arch.s [lld-macho] Avoid explicit -arch in tests by defaulting to x86-64 2020-06-17 20:41:27 -07:00
filelist.s [lld-macho] Support -filelist 2020-07-28 10:02:19 -07:00
force-load.s [lld-macho] Implement -force_load 2020-08-12 19:50:27 -07:00
framework.s [lld-macho] Fix errant search and replace. NFC 2020-08-05 16:59:53 -07:00
headerpad.s [lld-macho] handle option -headerpad_max_install_names 2020-09-22 17:24:19 -07:00
indirect-symtab.s [lld-macho] Emit indirect symbol table 2020-09-23 19:26:40 -07:00
lc-build-version.s Slightly relax the regex on lld version in test (NFC) 2020-08-15 21:38:02 +00:00
link-search-order.s lld: Try to fix check-lld on incremental builds after 8f2c31f22b 2020-09-24 09:33:57 -04:00
linkedit-contiguity.s [lld-macho] Make __LINKEDIT sections contiguous 2020-07-30 14:30:07 -07:00
load-commands.s [lld-macho] Support -bundle 2020-09-25 11:28:32 -07:00
local-got.s [lld-macho] Implement support for PIC 2020-09-25 11:28:31 -07:00
no-exports-dylib.s [lld-macho] Avoid explicit -arch in tests by defaulting to x86-64 2020-06-17 20:41:27 -07:00
no-unneeded-dyld-info.s [lld-macho][NFC] Handle GOT bindings and regular bindings more uniformly 2020-08-26 19:21:04 -07:00
nonweak-definition-override.s [lld-macho][re-land] Implement and test resolution of common symbols 2020-09-24 15:00:56 -07:00
objc.s [lld-macho] Fix objc.s test 2020-08-26 22:59:31 -07:00
order-file.s [lld-macho] Avoid explicit -arch in tests by defaulting to x86-64 2020-06-17 20:41:27 -07:00
platform-version.s [lld-macho] improve handling of -platform_version 2020-08-10 18:47:16 -07:00
reexport-stub.s [lld-macho] Handle TAPI and regular re-exports uniformly 2020-08-26 19:20:48 -07:00
relocations.s [lld] Test corrections after 3f1a9b7eca added segment names to objdump output 2020-09-04 10:26:29 -07:00
resolution.s [lld-macho] Avoid explicit -arch in tests by defaulting to x86-64 2020-06-17 20:41:27 -07:00
rpath.s [lld-macho] Support -rpath 2020-08-12 19:50:28 -07:00
search-paths-darwin.test [lld-macho] Add missing search-paths-darwin.test 2020-06-17 20:51:26 -07:00
search-paths.test MachO: support `-syslibroot` 2020-08-05 08:41:24 -07:00
sectcreate.s [lld] Test corrections after 3f1a9b7eca added segment names to objdump output 2020-09-04 10:26:29 -07:00
section-headers.s [lld-macho] Fix segment filesize calculation 2020-07-28 10:02:19 -07:00
section-merge.s [lld] Test corrections after 3f1a9b7eca added segment names to objdump output 2020-09-04 10:26:29 -07:00
segments.s [lld-macho] Fix segment filesize calculation 2020-07-28 10:02:19 -07:00
silent-ignore.test [lld-macho] Ignore `-mllvm` and its argument 2020-09-23 19:26:40 -07:00
static-link.s [lld-macho] Avoid explicit -arch in tests by defaulting to x86-64 2020-06-17 20:41:27 -07:00
stub-framework.s [lld-macho] Add .tbd support for frameworks 2020-08-07 11:04:54 -07:00
stub-link.s [lld-macho] Handle TAPI and regular re-exports uniformly 2020-08-26 19:20:48 -07:00
sub-library.s [lld-macho] Handle TAPI and regular re-exports uniformly 2020-08-26 19:20:48 -07:00
subsections-section-relocs.s [lld-macho] Avoid explicit -arch in tests by defaulting to x86-64 2020-06-17 20:41:27 -07:00
subsections-symbol-relocs.s [lld-macho] Avoid explicit -arch in tests by defaulting to x86-64 2020-06-17 20:41:27 -07:00
symbol-order.s [lld-macho] Avoid explicit -arch in tests by defaulting to x86-64 2020-06-17 20:41:27 -07:00
symtab.s [lld-macho] Mark weak symbols in symbol table 2020-09-20 20:43:14 -07:00
syslibroot.test [lld-macho] Fall back to raw path if we don't find anything under syslibroot 2020-08-26 19:20:35 -07:00
tlv-dylib.s [lld-macho] Support dynamic linking of thread-locals 2020-08-12 19:50:09 -07:00
tlv.s [lld-macho] Support static linking of thread-locals 2020-08-07 11:04:52 -07:00
weak-binding.s [lld] Test corrections after 3f1a9b7eca added segment names to objdump output 2020-09-04 10:26:29 -07:00
weak-definition-direct-fetch.s [lld-macho] Partial support for weak definitions 2020-07-24 15:55:25 -07:00
weak-definition-indirect-fetch.s [lld-macho] Partial support for weak definitions 2020-07-24 15:55:25 -07:00
weak-definition-order.s [lld-macho] Implement weak binding for branch relocations 2020-08-27 17:44:15 -07:00
weak-definition-over-dysym.s [lld-macho] Partial support for weak definitions 2020-07-24 15:55:25 -07:00
weak-header-flags.s [lld-macho] Emit binding opcodes for defined symbols that override weak dysyms 2020-08-27 17:44:16 -07:00
weak-import.s [lld-macho] Support -weak_lx, -weak_library, -weak_framework 2020-09-23 19:26:41 -07:00
x86-64-reloc-got-load.s [lld-macho] Implement GOT_LOAD relaxation 2020-08-27 17:44:17 -07:00
x86-64-reloc-signed.s [lld-macho] Avoid explicit -arch in tests by defaulting to x86-64 2020-06-17 20:41:27 -07:00
x86-64-reloc-unsigned.s [lld-macho] Implement support for PIC 2020-09-25 11:28:31 -07:00