commit | 2233958369b163047208c2dd747c0f305c5457c8 | [log] [tgz] |
---|---|---|
author | Sean Fertile <sfertile@ca.ibm.com> | Thu Jan 10 15:08:06 2019 +0000 |
committer | Sean Fertile <sfertile@ca.ibm.com> | Thu Jan 10 15:08:06 2019 +0000 |
tree | 8abbeec19368fc5ac3aa89a55e6f9f21e73dab85 | |
parent | f1f13770c337870961412458494cdb7ec3df6959 [diff] |
Modify InputSectionBase::getLocation to add section and offset to every loc. The section and offset can be very helpful in diagnosing certian errors. For example on a relocation overflow or misalignment diagnostic: test.c:(function foo): relocation R_PPC64_ADDR16_DS out of range: ... The function foo can have many R_PPC64_ADDR16_DS relocations. Adding the offset and section will identify exactly which relocation is causing the failure. Differential Revision: https://reviews.llvm.org/D56453 git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@350828 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.