hanchenye-llvm-project/lld
Fangrui Song b0211de5e3 [ELF] Change Symbol::verdefIndex from uint32_t to uint16_t
The SHT_GNU_version index is 16-bit, so the 32-bit value is a waste.
Technically non-default version index 0x7fff uses version index 0xffff,
but it is impossible in practice.

This change decreases sizeof(SymbolUnion) from 80 to 72 on ELF64 platforms.
Memory usage decreases by 1% when linking a large executable.
2021-12-15 17:59:30 -08:00
..
COFF [lld] Replace Symbolize.h with DIContext.h in lld's COFF lib 2021-12-13 22:16:41 +00:00
Common [lld/mac] Write -v output to stderr 2021-11-02 13:59:14 -04:00
ELF [ELF] Change Symbol::verdefIndex from uint32_t to uint16_t 2021-12-15 17:59:30 -08:00
MachO [lld-macho] Make writing map file asynchronous 2021-12-15 16:37:04 -08: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 [NFC] Fix typos in release notes. 2021-12-14 14:19:42 -08:00
include/lld [lld-macho] Remove old macho darwin lld 2021-12-02 11:04:49 -08:00
test [ELF] SymbolTable::insert: keep @@ in the name 2021-12-15 15:19:35 -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
LICENSE.TXT
README.md

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.