llvm-project/lld
Fangrui Song e9262edf0d [ELF] SymbolTable:🔣 don't filter out PlaceholderKind
Placeholders (-y and redirectSymbols removed versioned symbols) are very rare and
the check just makes symbol table iteration slower. Most iterations filter out
placeholders anyway, so this change just drops the filter behavior.

For "Add symbols to symtabs", we need to ensure that redirectSymbols sets
isUsedInRegularObj to false when making a symbol placeholder, to avoid an
assertion failure in SymbolTableSection<ELFT>::writeTo.

My .text is 2KiB smaller. The speed-up linking chrome is 0.x%.
2021-12-26 18:11:45 -08:00
..
COFF Use isa instead of dyn_cast (NFC) 2021-12-24 21:22:27 -08:00
Common [lld/mac] Write -v output to stderr 2021-11-02 13:59:14 -04:00
ELF [ELF] SymbolTable:🔣 don't filter out PlaceholderKind 2021-12-26 18:11:45 -08:00
MachO [lld-macho] Handle $ld$hide[$os] symbols. 2021-12-17 16:40:07 -05:00
MinGW [LLD] [MinGW] Add more options for disabling flags in the executable 2021-08-12 13:27:09 +03:00
cmake/modules [cmake] Add support for multiple distributions 2021-05-12 11:13:18 -07:00
docs [lld] Add cet-report and bti-report flags 2021-12-16 16:26:26 +01:00
include/lld [lld-macho] Remove old macho darwin lld 2021-12-02 11:04:49 -08:00
test [ELF] Add Symbol::hasVersionSuffix 2021-12-26 17:25:54 -08:00
tools/lld [lld-macho] Remove old macho darwin lld 2021-12-02 11:04:49 -08:00
utils
wasm [lld][WebAssembly] Fix for debug relocations against undefined function symbols 2021-12-02 08:36:28 -08:00
.clang-format
.clang-tidy NFC: .clang-tidy: Inherit configs from parents to improve maintainability 2021-06-08 08:25:59 -07:00
.gitignore
CMakeLists.txt [lld-macho] Remove old macho darwin lld 2021-12-02 11:04:49 -08:00
CODE_OWNERS.TXT Add code owners of new MachO port 2020-09-02 19:32:12 -07:00
LICENSE.TXT
README.md [doc] Place sha256 in lld/README.md into backticks 2021-01-12 10:19:40 -08:00

README.md

LLVM Linker (lld)

This directory and its subdirectories contain source code for the LLVM Linker, a modular cross platform linker which is built as part of the LLVM compiler infrastructure project.

lld is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt.

Benchmarking

In order to make sure various developers can evaluate patches over the same tests, we create a collection of self contained programs.

It is hosted at https://s3-us-west-2.amazonaws.com/linker-tests/lld-speed-test.tar.xz

The current sha256 is 10eec685463d5a8bbf08d77f4ca96282161d396c65bd97dc99dbde644a31610f.