aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>2021-07-09 10:11:31 +0100
committerAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>2021-07-09 10:41:40 +0100
commit79332fb722024558e16c2ab22feae5816b7bb886 (patch)
treee5c8426476f2ce13456f06ae3b6314a1bddc36e3 /llvm/lib/Transforms/Utils/Local.cpp
parentf4b0c9abfb8fb142ad644756b9959bd34811bc4b (diff)
downloadllvm-79332fb722024558e16c2ab22feae5816b7bb886.zip
llvm-79332fb722024558e16c2ab22feae5816b7bb886.tar.gz
llvm-79332fb722024558e16c2ab22feae5816b7bb886.tar.bz2
[ELF] Write R_X86_64_IRELATIVE addends with -z rel
I found this missing case with the new --check-dynamic-relocation flag while running the lld tests with --apply-dynamic-relocs enabled by default. This also fixes a broken CHECK in lld/test/ELF/x86-64-gotpc-relax.s: The test wasn't using CHECK-NEXT, so it was passing despite the output actually containing relocations. I am not sure when this changed, but I think this behaviour is correct. Found with D101450 + enabling --apply-dynamic-relocs by default. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D101452
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions