This is an archive of the discontinued LLVM Phabricator instance.

[DWARF][BOLT] Fix handling of converting range accesss from ofset to index.
ClosedPublic

Authored by ayermolo on Aug 17 2022, 6:01 PM.

Details

Summary

Wasn't handling correctly creating DW_AT_rnglists_base in UnitDie when
converting access pattern for DW_AT_ranges from offset to index for DWARF5.

Diff Detail

Event Timeline

ayermolo created this revision.Aug 17 2022, 6:01 PM
Herald added a reviewer: Amir. · View Herald Transcript
Herald added a reviewer: maksfb. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
ayermolo requested review of this revision.Aug 17 2022, 6:01 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 17 2022, 6:01 PM
ayermolo edited the summary of this revision. (Show Details)Aug 17 2022, 6:01 PM
rafauler accepted this revision.Aug 17 2022, 6:37 PM

LGTM

bolt/lib/Rewrite/DWARFRewriter.cpp
865
This revision is now accepted and ready to land.Aug 17 2022, 6:37 PM
ayermolo marked an inline comment as done.Aug 19 2022, 3:27 PM
This revision was landed with ongoing or failed builds.Aug 19 2022, 3:28 PM
This revision was automatically updated to reflect the committed changes.