llvm-project/lld/test/MachO
Jez Ng 9854edd817 [lld-macho] Implement basic export trie
Build the trie by performing a three-way radix quicksort: We start by
sorting the strings by their first characters, then sort the strings
with the same first characters by their second characters, and so on
recursively. Each time the prefixes diverge, we add a node to the trie.
Thanks to @ruiu for the idea.

I used llvm-mc's radix quicksort implementation as a starting point. The
trie offset fixpoint code was taken from
MachONormalizedFileBinaryWriter.cpp.

Differential Revision: https://reviews.llvm.org/D76977
2020-04-29 15:44:27 -07:00
..
Inputs [lld-macho] Implement basic export trie 2020-04-29 15:44:27 -07:00
alignment-too-large.yaml Reland D75382 "[lld] Initial commit for new Mach-O backend" 2020-04-02 12:03:43 -07:00
arch.s Reland D75382 "[lld] Initial commit for new Mach-O backend" 2020-04-02 12:03:43 -07:00
duplicate-symbol.s Reland D75382 "[lld] Initial commit for new Mach-O backend" 2020-04-02 12:03:43 -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.s [lld-macho] Implement basic export trie 2020-04-29 15:44:27 -07:00
entry-symbol.s Reland D75382 "[lld] Initial commit for new Mach-O backend" 2020-04-02 12:03:43 -07:00
export-trie.s [lld-macho] Implement basic export trie 2020-04-29 15:44:27 -07:00
invalid-executable.s Reland D75382 "[lld] Initial commit for new Mach-O backend" 2020-04-02 12:03:43 -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] Add basic support for linking against dylibs 2020-04-21 13:43:19 -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] Add basic support for linking against dylibs 2020-04-21 13:43:19 -07:00
no-such-file.s Reland D75382 "[lld] Initial commit for new Mach-O backend" 2020-04-02 12:03:43 -07:00
relocations.s Reland D75382 "[lld] Initial commit for new Mach-O backend" 2020-04-02 12:03:43 -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
segments.s [lld-macho] Extend SyntheticSections to cover all segment load commands 2020-04-27 12:58:12 -07:00
silent-ignore.test Reland D75382 "[lld] Initial commit for new Mach-O backend" 2020-04-02 12:03:43 -07:00
symtab.s [lld-macho] Implement basic export trie 2020-04-29 15:44:27 -07:00