llvm-project/lld
Fangrui Song d496abbe2a [lld-link] Replace LazyObjFile with lazy ObjFile/BitcodeFile
Similar to ELF 3a5fb57393.

* previously when a LazyObjFile was extracted, a new ObjFile/BitcodeFile was created; now the file is reused, just with `lazy` cleared
* avoid the confusing transfer of `symbols` from LazyObjFile to the new file
* simpler code, smaller executable (5200+ bytes smaller on x86-64)
* make eager parsing feasible (for parallel section/symbol table initialization)

Reviewed By: aganea, rnk

Differential Revision: https://reviews.llvm.org/D116434
2022-01-04 15:11:44 -08:00
..
COFF [lld-link] Replace LazyObjFile with lazy ObjFile/BitcodeFile 2022-01-04 15:11:44 -08:00
Common Revert "[lld] Add support for other demanglers other than Itanium" 2021-12-30 18:04:21 +00:00
ELF [ELF] Switch cNamedSections to SmallVector. NFC 2021-12-30 16:08:26 -08:00
MachO Revert "[lld] Add support for other demanglers other than Itanium" 2021-12-30 18:04:21 +00:00
MinGW [lld][MinGW] Remove `--no-as-needed` from ignored flags 2022-01-03 23:01:02 +01:00
cmake/modules [lld][CMake] Use `GNUInstallDirs` to support custom installation dirs 2021-12-31 18:57:57 +00:00
docs [lld][docs] Update _templates/indexsidebar.html after Bugzilla->GitHub issue migration 2021-12-30 13:34:45 -08:00
include/lld Revert "[lld] Add support for other demanglers other than Itanium" 2021-12-30 18:04:21 +00:00
test Revert "[lld] Add support for other demanglers other than Itanium" 2021-12-30 18:04:21 +00:00
tools/lld [lld][CMake] Use `GNUInstallDirs` to support custom installation dirs 2021-12-31 18:57:57 +00:00
utils
wasm [wasm] Use nullptr instead of NULL (NFC) 2022-01-02 10:20:21 -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 Set the path to the shared cmake modules based on the llvm directory 2022-01-01 17:59:08 +00: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.