llvm-project/lld
Rui Ueyama cdd5fb5087 Report an error if you try to link against .dll instead of .lib.
It is a usage error to feed a .dll file instead of a .dll to COFF linker.
Previously, lld failed with a mysterious error message. Now we reject
it at the driver.

Fixes https://bugs.llvm.org/show_bug.cgi?id=36440

Differential Revision: https://reviews.llvm.org/D43964

llvm-svn: 326507
2018-03-01 23:11:30 +00:00
..
COFF Report an error if you try to link against .dll instead of .lib. 2018-03-01 23:11:30 +00:00
Common Make sure that clang-format doesn't reorder include files. 2018-02-28 21:32:24 +00:00
ELF Accept both `--foo bar` and `--foo=bar` styles options. 2018-03-01 23:06:10 +00:00
MinGW [MinGW] Fix --{start,end}-group. 2018-03-01 20:38:38 +00:00
cmake/modules [lld] Switch to add_llvm_install_targets 2017-12-01 04:17:45 +00:00
docs Correct man page description for --section-start 2018-03-01 19:02:41 +00:00
include/lld Merge {COFF,ELF}/Strings.cpp to Common/Strings.cpp. 2018-02-28 17:38:19 +00:00
lib [ELF] Fix IsPreemptible comment and typo. NFC 2018-02-23 21:57:49 +00:00
test Report an error if you try to link against .dll instead of .lib. 2018-03-01 23:11:30 +00:00
tools/lld Remove "--full-shutdown" and instead use an environment variable LLD_IN_TEST. 2018-02-16 23:41:48 +00:00
unittests [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
utils Add a script to run various benchmarks and send the result to lnt. 2017-11-14 16:40:30 +00:00
wasm [WebAssembly] Use uint8_t for single byte values to match the spec 2018-03-01 18:06:39 +00:00
.arcconfig [lld] Set up .arcconfig to point to new Diffusion LLD repository 2017-12-06 20:56:23 +00:00
.clang-format
.gitignore
CMakeLists.txt [WebAssembly] Initial wasm linker implementation 2017-11-17 18:14:09 +00:00
CODE_OWNERS.TXT [WebAssembly] Initial wasm linker implementation 2017-11-17 18:14:09 +00:00
LICENSE.TXT
README.md Note that the test .tar.xz has been updated. 2017-12-22 19:37:32 +00: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.