hanchenye-llvm-project/lld
Martin Storsjo 0f8f0d6d1d [COFF] In MinGW mode, ignore relocations against a discarded section
When GCC produces a jump table as part of a comdat function, the
jump table itself is produced as plain non-comdat rdata section. When
linked with ld.bfd, all of those rdata sections are kept, with
relocations unchanged in the sections that refer to discarded comdat
sections.

This has been observed with at least GCC 5.x and 7.x.

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

llvm-svn: 343422
2018-09-30 18:31:03 +00:00
..
COFF [COFF] In MinGW mode, ignore relocations against a discarded section 2018-09-30 18:31:03 +00:00
Common Allow later -z name=<int> args to override earlier args 2018-09-26 20:50:39 +00:00
ELF [ELF][HEXAGON] Add support for dynamic libraries 2018-09-28 14:09:16 +00:00
MinGW [MinGW] Hook up the --require-defined option to -include: 2018-09-10 17:41:40 +00:00
cmake/modules
docs Revert "[WebAssembly] Update docs" 2018-09-27 00:42:49 +00:00
include/lld Add paretntheses around a C macro parameter. 2018-09-20 18:24:19 +00:00
lib MachO: Change getString16() back to inline function 2018-09-07 15:51:52 +00:00
test [COFF] In MinGW mode, ignore relocations against a discarded section 2018-09-30 18:31:03 +00:00
tools/lld Fix typo in error message. NFC. 2018-09-13 15:37:13 +00:00
unittests
utils
wasm [WebAssembly] Preserve function signatures during LTO 2018-09-28 16:50:14 +00:00
.arcconfig
.clang-format
.gitignore
CMakeLists.txt
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.