hanchenye-llvm-project/lld
Sam Clegg 7cdec273dd [WebAssembly] Error on relocations against undefined data symbols.
We can't (currently) meaningfully resolve certain types of relocations
against undefined data symbols.  Previously when `--allow-undefined` was
used we were treating such relocation much like weak data symbols and
simply inserting zeros.  This change turns such use cases in to an
error.

This means that `--allow-undefined` is no longer effective for data
symbols.

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

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

llvm-svn: 358899
2019-04-22 16:12:54 +00:00
..
COFF [COFF] Pack Name in Symbol as is done in ELF 2019-04-19 22:51:49 +00:00
Common Fail early if an output file is not writable 2019-03-11 16:30:55 +00:00
ELF [LLD][ELF] - Do not forget to use ch_addralign field after decompressing the sections. 2019-04-22 13:40:42 +00:00
MinGW [MinGW] Add an --appcontainer flag, passed through to lld-link 2019-04-19 13:50:43 +00:00
cmake/modules
docs [COFF] Link crtend.o as the last object file 2019-04-15 10:57:44 +00:00
include/lld Fail early if an output file is not writable 2019-03-11 16:30:55 +00:00
lib lld: Fix initial Mach-O load commands size calculation omitting LC_FUNCTION_STARTS 2019-04-17 01:47:16 +00:00
test [WebAssembly] Error on relocations against undefined data symbols. 2019-04-22 16:12:54 +00:00
tools/lld Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
unittests Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
utils Python 2/3 compatibility 2019-03-20 07:42:13 +00:00
wasm [WebAssembly] Error on relocations against undefined data symbols. 2019-04-22 16:12:54 +00:00
.arcconfig
.clang-format
.gitignore
CMakeLists.txt
CODE_OWNERS.TXT
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
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.