llvm-project/lld/test/MachO
Jez Ng 7bbdbacd00 [lld-macho] Use export trie instead of symtab when linking against dylibs
Summary:
This allows us to link against stripped dylibs. Moreover, it's simply
more correct: The symbol table includes symbols that the dylib uses but
doesn't export.

This temporarily regresses our ability to do lazy symbol binding because
dyld_stub_binder isn't in libSystem's export trie. Rather, it is in one
of the sub-libraries libSystem re-exports. (This doesn't affect our
tests since we are mocking out dyld_stub_binder there.) A follow-up diff
will address this by adding support for sub-libraries.

Depends on D79114.

Reviewers: ruiu, pcc, MaskRay, smeenai, alexshap, gkm, Ktwu, christylee

Subscribers: mgorny, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79226
2020-05-09 20:56:22 -07:00
..
Inputs [lld-macho] Support calls to functions in dylibs 2020-05-09 20:56:22 -07:00
alignment-too-large.yaml [lld-macho] Disable colors in errors when not printing to a pty 2020-04-29 15:44:35 -07:00
arch.s [lld-macho] Disable colors in errors when not printing to a pty 2020-04-29 15:44:35 -07:00
duplicate-symbol.s [lld-macho] Disable colors in errors when not printing to a pty 2020-04-29 15:44:35 -07:00
dylib.s [lld-macho][reland] Add support for emitting dylibs with a single symbol 2020-04-28 17:08:32 -07:00
dylink-lazy.s [lld-macho] Support calls to functions in dylibs 2020-05-09 20:56:22 -07:00
dylink.s [lld-macho] Use export trie instead of symtab when linking against dylibs 2020-05-09 20:56:22 -07:00
entry-symbol.s [lld-macho] Disable colors in errors when not printing to a pty 2020-04-29 15:44:35 -07:00
export-trie.s [lld-macho] Implement basic export trie 2020-04-29 15:44:27 -07:00
fat-arch.s [lld-macho] Support reading of universal binaries 2020-04-29 15:44:44 -07:00
invalid-executable.s [lld-macho] Disable colors in errors when not printing to a pty 2020-04-29 15:44:35 -07:00
invalid-fat-narch.s [lld-macho] Support reading of universal binaries 2020-04-29 15:44:44 -07:00
invalid-fat-offset.s [lld-macho] Support reading of universal binaries 2020-04-29 15:44:44 -07:00
load-commands.s [lld-macho][reland] Add support for emitting dylibs with a single symbol 2020-04-28 17:08:32 -07:00
missing-dylib.s [lld-macho] Disable colors in errors when not printing to a pty 2020-04-29 15:44:35 -07:00
no-exports-dylib.s [lld-macho] Implement basic export trie 2020-04-29 15:44:27 -07:00
no-id-dylink.s [lld-macho] Disable colors in errors when not printing to a pty 2020-04-29 15:44:35 -07:00
no-such-file.s [lld-macho] Disable colors in errors when not printing to a pty 2020-04-29 15:44:35 -07:00
relocations.s [lld-macho] Support X86_64_RELOC_BRANCH 2020-04-29 15:45:01 -07:00
resolution.s [lld-macho] Dylib symbols should always replace undefined symbols 2020-05-09 20:56:22 -07:00
search-paths.test [lld-macho] Add basic support for linking against dylibs 2020-04-21 13:43:19 -07:00
section-headers.s Reland D75382 "[lld] Initial commit for new Mach-O backend" 2020-04-02 12:03:43 -07:00
section-merge.s [lld-macho] Follow-up to D77893 2020-05-09 20:56:22 -07:00
segments.s [lld-macho] Extend SyntheticSections to cover all segment load commands 2020-04-27 12:58:12 -07:00
silent-ignore.test [lld-macho] Disable colors in errors when not printing to a pty 2020-04-29 15:44:35 -07:00
symtab.s [lld-macho] Implement basic export trie 2020-04-29 15:44:27 -07:00
x86-64-reloc-signed.s [lld-macho] Support X86_64_RELOC_SIGNED_{1,2,4} 2020-05-04 15:15:35 -07:00