[PATCH] D117734: [ELF] Fix the branch range computation when reusing a thunk

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 21 12:39:06 PST 2022


MaskRay updated this revision to Diff 402075.
MaskRay edited the summary of this revision.
MaskRay added a comment.

Thanks for spotting my mistake (ah, I should have noticed the flipped sign) and even
providing an arm test! Included in the new diff.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D117734/new/

https://reviews.llvm.org/D117734

Files:
  lld/ELF/Relocations.cpp
  lld/test/ELF/aarch64-thunk-reuse.s
  lld/test/ELF/arm-thunk-reuse.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117734.402075.patch
Type: text/x-patch
Size: 4498 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220121/41440ae2/attachment.bin>


More information about the llvm-commits mailing list