Skip to content

Commit 50c0e67

Browse files
authored
[BOLT][DWARF] Add support for DW_TAG_union_type to DebugNames. (#119023)
Adding support for DW_TAG_union_type for DebugNames acceleration tables.
1 parent 8ab76a4 commit 50c0e67

File tree

2 files changed

+497
-0
lines changed

2 files changed

+497
-0
lines changed

bolt/lib/Core/DebugNames.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ bool static canProcess(const DWARFUnit &Unit, const DIE &Die,
161161
case dwarf::DW_TAG_structure_type:
162162
case dwarf::DW_TAG_typedef:
163163
case dwarf::DW_TAG_unspecified_type:
164+
case dwarf::DW_TAG_union_type:
164165
if (TagsOnly || Die.findAttribute(dwarf::Attribute::DW_AT_name))
165166
return true;
166167
return false;

0 commit comments

Comments
 (0)