This is an archive of the discontinued LLVM Phabricator instance.

[BOLT][AARCH64] Skip R_AARCH64_LD_PREL_LO19 relocation
ClosedPublic

Authored by yota9 on Jun 9 2022, 9:05 AM.

Details

Summary

Supress failed to analyze relocations warning for R_AARCH64_LD_PREL_LO19
relocation. This relocation is mostly used to get value stored in CI and
we don't process it since we are caluclating target address using the
instruction value in evaluateMemOperandTarget().

Diff Detail

Event Timeline

yota9 created this revision.Jun 9 2022, 9:05 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 9 2022, 9:05 AM
yota9 requested review of this revision.Jun 9 2022, 9:05 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 9 2022, 9:05 AM
rafauler accepted this revision.Jun 10 2022, 4:02 PM

LGTM

bolt/include/bolt/Core/Relocation.h
58–61

by BOLT -> in BOLT

This revision is now accepted and ready to land.Jun 10 2022, 4:02 PM
This revision was automatically updated to reflect the committed changes.