[PATCH] D158911: [BOLT] Support input binaries that use R_X86_GOTPC64

Maksim Panchenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 2 18:59:30 PDT 2023


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

LGTM



================
Comment at: bolt/lib/Rewrite/JITLinkLinker.cpp:147
+        if (const BinaryData *I = Linker.BC.getGOTSymbol()) {
+          uint64_t Address =
+              I->isMoved() ? I->getOutputAddress() : I->getAddress();
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D158911



More information about the llvm-commits mailing list