[PATCH] D125843: [BOLT] Testcase to repro R_X86_64_REX_GOTPCRELX bug

Amir Ayupov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 18 08:06:42 PDT 2022


Amir accepted this revision.
Amir added a comment.
This revision is now accepted and ready to land.

LGTM with one comment



================
Comment at: bolt/test/X86/gotpcrelx.s:3
+
+# Here we use llvm-mc -relax-relocations to produce R_X86_64_REX_GOTPCRELX
+# and ld.lld to consume it and optimize it, transforming a CMP <mem, reg>
----------------
Can we also check the presence of R_X86_64_REX_GOTPCRELX relocation in the input binary?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125843



More information about the llvm-commits mailing list