This is an archive of the discontinued LLVM Phabricator instance.

[DWARF] Extend .debug_info abbreviations with DW_AT and DW_FORM offsets
AbandonedPublicDraft

Authored by ayermolo on May 11 2021, 5:20 PM.

Details

Summary

Extend DWARFAbbreviationDeclaration::AttributeSpec (abbreviations used in
.debug_info section) with AttrOffset and FormOffset, pointing at offsets of
DW_AT (attribute) and DW_FORM (format) in a DIE. This enables a client to patch
these fields (used by BOLT)

Diff Detail

Event Timeline

Amir created this revision.May 11 2021, 5:20 PM
Amir updated this revision to Diff 345057.May 12 2021, 11:31 PM

clang-format

ayermolo commandeered this revision.Aug 5 2021, 3:52 PM
ayermolo added a reviewer: Amir.
ayermolo abandoned this revision.Aug 10 2021, 5:35 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 10 2021, 5:35 PM