llvm-project/lld
Jez Ng 098430cd25 [lld-macho][nfc] Simplify LC_DATA_IN_CODE generation
1. After D113241, we have the section address easily accessible and no
   longer need to iterate across the LC_SEGMENT commands to emit
   LC_DATA_IN_CODE.

2. There's no need to store a pointer to the data in code entries during
   the parse step; we can just look it up as part of the output step.

Reviewed By: #lld-macho, thakis

Differential Revision: https://reviews.llvm.org/D115556
2021-12-11 01:01:57 -05:00
..
COFF Enable pdbpagesize to allow support for PDB file sizes > 4GB 2021-12-06 18:22:08 -05:00
Common [lld/mac] Write -v output to stderr 2021-11-02 13:59:14 -04:00
ELF [ELF] Do not report undefined weak references in shared libraries 2021-12-07 10:10:51 +07:00
MachO [lld-macho][nfc] Simplify LC_DATA_IN_CODE generation 2021-12-11 01:01:57 -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 [ELF] Hint -z nostart-stop-gc for __start_ undefined references 2021-12-02 11:58:25 -08:00
include/lld [lld-macho] Remove old macho darwin lld 2021-12-02 11:04:49 -08:00
test [lld-macho] Include archive name in bitcode files 2021-12-07 19:11:23 -05: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.