llvm-project/lld
Nico Weber 67d311a5fd [COFF, Mach-O] Include -mllvm options in thinlto cache key
Like D134013, but for COFF and Mach-O.

Also expand the ELF test a bit. I at first didn't realize that `getValue()` for
`-mllvm -foo=bar` would return `-foo=bar` instead of just `bar`, and so
I wrote the test to check if we indeed get this wrong. We don't, but
having the test for it seems nice, so I'm including it.

Differential Revision: https://reviews.llvm.org/D137971
2022-11-14 15:18:09 -05:00
..
COFF [COFF, Mach-O] Include -mllvm options in thinlto cache key 2022-11-14 15:18:09 -05:00
Common Link liblldCOFF against libatomic when necessary 2022-11-03 21:07:43 +01:00
ELF [COFF, Mach-O] Include -mllvm options in thinlto cache key 2022-11-14 15:18:09 -05:00
MachO [COFF, Mach-O] Include -mllvm options in thinlto cache key 2022-11-14 15:18:09 -05:00
MinGW [LLD][MinGW] Add --error-limit=<N> option 2022-11-10 13:52:47 +02:00
cmake/modules [CMake] Avoid `LLVM_BINARY_DIR` when other more specific variable are better-suited, part 2 2022-09-14 15:48:58 -04:00
docs [PDB] Don't include input files in the 'cmd' entry of S_ENVBLOCK 2022-11-14 11:31:01 -05:00
include/lld/Common [lld][nfc] Remove lld::demangle() (partial revert of D116279) 2022-10-14 15:28:47 -04:00
test [COFF, Mach-O] Include -mllvm options in thinlto cache key 2022-11-14 15:18:09 -05:00
tools/lld [lld] Check errors from expanding response files 2022-11-07 18:28:33 +01:00
utils
wasm [ThinLTO] a ThinLTO warning is added if cache_size_bytes or cache_size_files is too small for the current link job. The warning recommends the user to consider adjusting --thinlto-cache-policy. 2022-11-14 12:27:29 +00: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 Move googletest to the third-party directory 2022-11-09 15:28:08 -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.