llvm-project/lld
Peter Smith c076b280df [ELF] Skip over empty sections when checking for contiguous relro
When checking for contiguous relro sections we can skip over empty sections.
If there is an empty non-relro section in the middle of a contiguous block
of relro sections then it cannot be written to so it is safe to include in
PT_GNU_RELRO header. If there is a contiguous block of empty relro sections
then no PT_GNU_RELRO header is required for them.

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

llvm-svn: 318924
2017-11-23 15:10:00 +00:00
..
COFF Return early. NFC. 2017-11-22 09:06:42 +00:00
Common Try harder to delete the temporary file. 2017-11-13 18:06:43 +00:00
ELF [ELF] Skip over empty sections when checking for contiguous relro 2017-11-23 15:10:00 +00:00
MinGW [MinGW] Ignore the --build-id, --pie-executable and --disable-auto-image-base options 2017-11-15 08:18:28 +00:00
cmake/modules [lld][cmake] Fix BUILD_SHARED_LIBS installation 2017-01-24 10:41:02 +00:00
docs [WebAssembly] Initial wasm linker implementation 2017-11-17 18:14:09 +00:00
include/lld Make some headers modular by adding missing includes/forward decls. 2017-11-21 01:09:10 +00:00
lib MachONormalizedFile.h: Remove unimplemented function 2017-11-22 21:10:19 +00:00
test [ELF] Skip over empty sections when checking for contiguous relro 2017-11-23 15:10:00 +00:00
tools/lld [WebAssembly] Initial wasm linker implementation 2017-11-17 18:14:09 +00:00
unittests Move new lld's code to Common subdirectory. 2017-10-02 21:00:41 +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 wasm/OutputSegment.h: Include missing header 2017-11-22 21:10:17 +00:00
.arcconfig Upgrade all the .arcconfigs to https. 2016-07-14 13:15:37 +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 Update copyright year to 2016. 2016-03-30 22:40:59 +00:00
README.md Note that the benchmark set has been updated. 2017-11-14 17:48:48 +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 69cff27cf63304a3f766e72dc9010407eced5c60635254a3c31496e1183ef9e1.