hanchenye-llvm-project/lld
Rui Ueyama bf450d905d Do not create a temporary data structure for relocations.
This patch removes `OutRelocations` vector from the InputChunk and
directly consume `Relocations` vector instead. This should make the linker
faster because we don't create a temporary data structure, and it matches
the lld's design principle that we don't create temporary data structures
for object files but instead directly consume mmap'ed data whenever possible.

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

llvm-svn: 325549
2018-02-20 04:26:26 +00:00
..
COFF Simplify. 2018-02-17 23:37:26 +00:00
Common Pass CPU string to LTO pipeline. 2018-01-30 18:18:59 +00:00
ELF Rename DynamicReloc::getAddend() to computeAddend(). NFC 2018-02-19 11:00:15 +00:00
MinGW
cmake/modules
docs Add IMPLEMENTATION NOTES describing lld's .a handling in the man page 2018-02-09 15:36:13 +00:00
include/lld Pass CPU string to LTO pipeline. 2018-01-30 18:18:59 +00:00
lib
test [WebAssembly] Define toString(wasm::InputChunk *) and use that in MarkLive.cpp. 2018-02-19 22:29:48 +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
utils
wasm Do not create a temporary data structure for relocations. 2018-02-20 04:26:26 +00:00
.arcconfig
.clang-format
.gitignore
CMakeLists.txt
CODE_OWNERS.TXT
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.