[PATCH] D157217: [BOLT] Split createRelocation in X86 and share the second part

Rafael Auler via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 7 17:27:00 PDT 2023


rafauler added inline comments.


================
Comment at: bolt/lib/Target/X86/X86MCPlusBuilder.cpp:2461-2463
+    std::pair<MCSymbol *, uint64_t> result = extractFixupExpr(Fixup);
 
+    return Relocation({RelOffset, result.first, RelType, result.second, 0});
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D157217



More information about the llvm-commits mailing list