commit | 9f862613b368fa8d35a67bc005e3360d1ccbb2e3 | [log] [tgz] |
---|---|---|
author | Fangrui Song <maskray@google.com> | Thu Sep 26 17:10:09 2019 +0000 |
committer | Fangrui Song <maskray@google.com> | Thu Sep 26 17:10:09 2019 +0000 |
tree | 56c126dbaaf3d545c7a38419885e624b5774bcd4 | |
parent | 1683917d99e0e7c1b922e961b5cd0f20fd55d00f [diff] |
[ELF] Set SectionBase::partition in processSectionCommands Fixes PR43461 (regression caused by D67504) The partition field of a SECTIONS-specified section is not set after D67504. The 0 value affects findSection() which checks if the partition field is 1. So `Out::initArray = findSection(".init_array")` is null, and DT_INIT_ARRAYSZ is not set. Reviewed By: peter.smith Differential Revision: https://reviews.llvm.org/D68087 git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@372996 91177308-0d34-0410-b5e6-96231b3b80d8
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.
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.