hanchenye-llvm-project/lld
George Rimar f22ec9ddf6 [ELF] - Linkerscript: fix issue with SUBALIGN.
This is PR34886.

SUBALIGN command currently triggers failture if result expression
is zero. Patch fixes the issue, treating zero as 1, what is consistent with
other places and ELF spec it seems.

Patch also adds "is power of 2" check for this and other expressions
returning alignment.

Differential revision: https://reviews.llvm.org/D38846

llvm-svn: 316580
2017-10-25 14:50:51 +00:00
..
COFF COFF: Don't add /manifest* flags to the response file. 2017-10-25 05:00:54 +00:00
Common Fix shared build of liblldCommon.so on Linux 2017-10-17 10:39:27 +00:00
ELF [ELF] - Linkerscript: fix issue with SUBALIGN. 2017-10-25 14:50:51 +00:00
MinGW lld::COFF: better behavior when using as a library 2017-10-23 20:03:32 +00:00
cmake/modules [lld][cmake] Fix BUILD_SHARED_LIBS installation 2017-01-24 10:41:02 +00:00
docs Move new lld's code to Common subdirectory. 2017-10-02 21:00:41 +00:00
include/lld lld::COFF: better behavior when using as a library 2017-10-23 20:03:32 +00:00
lib lld: Prune unused libdeps. 2017-10-12 00:04:24 +00:00
test [ELF] - Linkerscript: fix issue with SUBALIGN. 2017-10-25 14:50:51 +00:00
tools/lld lld::COFF: better behavior when using as a library 2017-10-23 20:03:32 +00:00
unittests Move new lld's code to Common subdirectory. 2017-10-02 21:00:41 +00:00
.arcconfig
.clang-format
.gitignore
CMakeLists.txt Move new lld's code to Common subdirectory. 2017-10-02 21:00:41 +00:00
CODE_OWNERS.TXT
LICENSE.TXT
README.md Add a note on where to get a lld benchmark. 2017-10-03 23:44:24 +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 4818e8d38961503a04a73597b0da1242c39efc9df2ceb6dfca4ed36845239863.