This is an archive of the discontinued LLVM Phabricator instance.

[BOLT][DWARF] Fix adding DW_AT_GNU_ranges_base
ClosedPublic

Authored by ayermolo on Jul 11 2023, 4:52 PM.

Details

Summary

There are cases in DWARF4 when Skeleton CU has ranges, but dwo CU doesn't.
Bug was introduced in new DWARFRewriter where for DWARF4 it would fall through
to DWARF5 case.

Diff Detail

Event Timeline

ayermolo created this revision.Jul 11 2023, 4:52 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.Jul 11 2023, 4:52 PM
Herald added a project: Restricted Project. · View Herald Transcript
maksfb accepted this revision.Jul 12 2023, 11:21 PM
This revision is now accepted and ready to land.Jul 12 2023, 11:21 PM
This revision was automatically updated to reflect the committed changes.