llvm-capstone/lld
Martin Storsjö 92126ca62e
[LLD] [COFF] Prefer paths specified with -libpath: over toolchain paths (#78039)
The main reason for adding the toolchain paths early was to prefer
libraries from the toolchain over ones from MSVC (primarily for
compiler-rt builtins). But if the user specifies a directory explicitly
with the -libpath: option, that should be preferred over the built-in
default paths.

This fixes an issue raised at
https://discourse.llvm.org/t/lld-prefers-system-llvm-libraries-to-user-provided-ones-on-windows/76148.
2024-01-15 22:52:57 +02:00
..
cmake/modules [LLD] Fix llvm-driver cmake integration for LLD (#76305) 2024-01-11 19:05:46 -05:00
COFF [LLD] [COFF] Prefer paths specified with -libpath: over toolchain paths (#78039) 2024-01-15 22:52:57 +02:00
Common [lld] Use StringRef::consume_front_insensitive (NFC) 2024-01-12 22:08:26 -08:00
docs [lld][WebAssembly] Add an --initial-heap option (#75594) 2023-12-15 10:16:38 -08:00
ELF [lld][ELF] Allow Arm PC-relative relocations in PIC links (#77304) 2024-01-11 16:49:14 +00:00
include/lld/Common [NFC][LLD] Refactor some copy-paste into the Common library (#67598) 2023-09-28 00:06:48 +02:00
MachO [lld] Use StringRef::consume_front_insensitive (NFC) 2024-01-12 22:08:26 -08:00
MinGW [LLD] [MinGW] Add support for more ThinLTO specific options (#77387) 2024-01-10 22:57:59 +02:00
test [LLD] [COFF] Prefer paths specified with -libpath: over toolchain paths (#78039) 2024-01-15 22:52:57 +02:00
tools/lld [llvm-driver] Fix usage of InitLLVM on Windows (#76306) 2024-01-11 19:08:28 -05:00
unittests
utils
wasm [wasm] Use StringRef::trim (NFC) 2023-12-26 23:56:21 -08:00
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt
CODE_OWNERS.TXT
LICENSE.TXT
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.