commit | b17bd95fb96f43795d95b8747b7a93d55a0621b2 | [log] [tgz] |
---|---|---|
author | Jez Ng <jezng@fb.com> | Thu Mar 11 13:28:11 2021 -0500 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Mar 18 00:35:27 2021 -0700 |
tree | fc77b5988d778e042e8b4c432ec9bb5e2479eaff | |
parent | b4e232dc3d3ae6193742c24215286c1f9b4282cd [diff] |
[lld-macho] Fix handling of X86_64_RELOC_SIGNED_{1,2,4} The previous implementation miscalculated the addend, resulting in an underflow. This meant that every SIGNED_N section relocation would be associated with the last subsection (since the addend would now be a huge number). We were "lucky" that this mistake was typically cancelled out -- 64-to-32-bit-truncation meant that the final value was correct, as long as subsections were not rearranged. Reviewed By: #lld-macho, thakis Differential Revision: https://reviews.llvm.org/D98385 GitOrigin-RevId: e8a30583033596b80d51dc89ad166526b5446d88
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
.