commit | 623742a12f856af8887a7b1685099e0651597172 | [log] [tgz] |
---|---|---|
author | Jez Ng <jezng@fb.com> | Sat Feb 27 12:30:15 2021 -0500 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Mar 18 00:30:07 2021 -0700 |
tree | d12fa23c3fc26b510c304dafc077cea7319fafc0 | |
parent | eade5bb7d9c258a923ccadaa40ebf4e1f50059a4 [diff] |
[lld-macho] Properly test subtractor relocations & fix their attributes `llvm-mc` doesn't generate any relocations for subtractions between local symbols -- they must be global -- so the previous test wasn't actually testing any relocation logic. I've fixed that and extended the test to cover r_length=3 relocations as well as both x86_64 and arm64. Reviewed By: #lld-macho, smeenai Differential Revision: https://reviews.llvm.org/D97057 GitOrigin-RevId: cc5c03e10957b8dd4ba4efbc5583084c7636a3ba
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
.