[PATCH] D123650: [BOLT] Ignore PC-relative relocations from data to data

Maksim Panchenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 13 11:12:13 PDT 2022


maksfb added a comment.

In D123650#3449013 <https://reviews.llvm.org/D123650#3449013>, @Amir wrote:

> LG. Just to make sure: the primary change is the extra condition to call `addPCRelativeDataRelocation` (from `!IsFromCode` to `!IsFromCode && IsToCode`), right?

Correct. Before we registered any PC-relative relocations from data, but we are really interested only in data-to-code variants.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123650



More information about the llvm-commits mailing list