llvm-project/lld
Fangrui Song 6dc2bd70bb [ELF] Initialize PhdrEntry::p_align to maxPageSize for PT_LOAD
```
Writer<ELFT>::run
  assignFileOffsets
    setFileOffset
      computeFileOffset
        os->ptLoad->p_align may be smaller than config->maxPageSize
  setPhdrs
    p_align = max(p_align, config->maxPageSize)
```

If we move the config->maxPageSize logic to the constructor of
PhdrEntry, computeFileOffset can be simplified.

Reviewed By: ruiu

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

llvm-svn: 371085
2019-09-05 16:32:31 +00:00
..
COFF [LLD] [COFF] Implement MinGW default manifest handling 2019-09-04 20:34:00 +00:00
Common
ELF [ELF] Initialize PhdrEntry::p_align to maxPageSize for PT_LOAD 2019-09-05 16:32:31 +00:00
MinGW
cmake/modules
docs ld.lld.1: explain long options may use one or two dashes 2019-09-03 17:58:30 +00:00
include/lld
lib [mach-o] Extend LC_DATA_IN_CODE support to x86_64 2019-08-28 10:11:50 +00:00
test [mips] Make a few test cases more tolerant to exact symbol addresses. NFC 2019-09-05 13:37:16 +00:00
tools/lld
unittests
utils
wasm [WebAssembly] Initialize memory in start function 2019-09-04 19:50:39 +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.