This is an archive of the discontinued LLVM Phabricator instance.

[BOLT][WIP] Check dynamic relocations in analyzeJumpTable
Needs ReviewPublic

Authored by Amir on Jun 12 2023, 1:30 PM.

Details

Reviewers
rafauler
maksfb
Group Reviewers
Restricted Project
Summary

perf2bolt-multiple-edge.test has jump table entries with associated dynamic
relocations. Check their presence in analyzeJumpTable.

Test WIP

Diff Detail

Event Timeline

Amir created this revision.Jun 12 2023, 1:30 PM
Herald added a reviewer: maksfb. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Amir requested review of this revision.Jun 12 2023, 1:30 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 12 2023, 1:30 PM

Not sure how to reproduce with assembly.

Can you try a test case with goto labels compiled with PIC?

Amir updated this revision to Diff 532282.Jun 16 2023, 1:40 PM

Check Section->isRelro

Amir retitled this revision from [BOLT] Check dynamic relocations in analyzeJumpTable to [BOLT][WIP] Check dynamic relocations in analyzeJumpTable.Jun 16 2023, 1:40 PM
Amir edited the summary of this revision. (Show Details)