[llvm] [BOLT] Support computed goto and allow map addrs inside functions (PR #120267)

Ash Dobrescu via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 7 06:50:29 PST 2025


================
@@ -2439,6 +2439,21 @@ void RewriteInstance::readDynamicRelocations(const SectionRef &Section,
     if (Symbol)
       SymbolIndex[Symbol] = getRelocationSymbol(InputFile, Rel);
 
+    const uint64_t SymAddress = SymbolAddress + Addend;
----------------
Rin18 wrote:

I've changed the name to `ReferencedAddress`, I've also changed `SymOffset` to `ReferencedOffset` for the same reason.

https://github.com/llvm/llvm-project/pull/120267


More information about the llvm-commits mailing list