[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 15:09:19 PDT 2023
maksfb added inline comments.
================
Comment at: bolt/include/bolt/Core/BinaryContext.h:876
+ /// at GOT, or null if it is not present in the input binary symtab.
+ BinaryData *getGlobalOffsetTableSym();
+
----------------
nit:
================
Comment at: bolt/include/bolt/Core/BinaryContext.h:879
+ /// Checks if symbol name refers to ELF's _GLOBAL_OFFSET_TABLE_ symbol
+ bool isGlobalOffsetTableSym(StringRef SymName) const {
+ return SymName == "_GLOBAL_OFFSET_TABLE_";
----------------
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