llvm-project/lld
Fangrui Song 6a44013b0e [ELF] -Map: Print symbols which needs canonical PLT entry/copy relocation just once
If a copy related symbol (say `copy`) is referenced in two .o
files, this change removes a duplicated line from the -Map output:

```
          202470           202470        1     1 .bss.rel.ro
          202470           202470        1     1         <internal>:(.bss.rel.ro)
          202470           202470        1     1                 copy
removed   202470           202470        1     1                 copy
```

Differential Revision: https://reviews.llvm.org/D115697
2021-12-14 10:31:06 -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] -Map: Print symbols which needs canonical PLT entry/copy relocation just once 2021-12-14 10:31:06 -08: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 [ELF] -Map: Print symbols which needs canonical PLT entry/copy relocation just once 2021-12-14 10:31:06 -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.