forked from OSchip/llvm-project
[Dwarf] Add dsymutil Atom extensions. NFC
This patch extends the atom types used by the Apple accelerator tables with two dsymutil extensions: - DW_ATOM_type_type_flags - DW_ATOM_qual_name_hash llvm-svn: 323414
This commit is contained in:
parent
3417a78781
commit
2c14b15538
|
@ -361,13 +361,16 @@ inline bool isUnitType(dwarf::Tag T) {
|
|||
// Constants for the DWARF v5 Accelerator Table Proposal
|
||||
enum AcceleratorTable {
|
||||
// Data layout descriptors.
|
||||
DW_ATOM_null = 0u, // Marker as the end of a list of atoms.
|
||||
DW_ATOM_null = 0u, /// Marker as the end of a list of atoms.
|
||||
DW_ATOM_die_offset = 1u, // DIE offset in the debug_info section.
|
||||
DW_ATOM_cu_offset = 2u, // Offset of the compile unit header that contains the
|
||||
// item in question.
|
||||
DW_ATOM_die_tag = 3u, // A tag entry.
|
||||
DW_ATOM_type_flags = 4u, // Set of flags for a type.
|
||||
|
||||
DW_ATOM_type_type_flags = 5u, // Dsymutil type extension.
|
||||
DW_ATOM_qual_name_hash = 6u, // Dsymutil qualified hash extension.
|
||||
|
||||
// DW_ATOM_type_flags values.
|
||||
|
||||
// Always set for C++, only set for ObjC if this is the @implementation for a
|
||||
|
|
|
@ -498,7 +498,10 @@ StringRef llvm::dwarf::AtomTypeString(unsigned AT) {
|
|||
case DW_ATOM_die_tag:
|
||||
return "DW_ATOM_die_tag";
|
||||
case DW_ATOM_type_flags:
|
||||
case DW_ATOM_type_type_flags:
|
||||
return "DW_ATOM_type_flags";
|
||||
case DW_ATOM_qual_name_hash:
|
||||
return "DW_ATOM_qual_name_hash";
|
||||
}
|
||||
return StringRef();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue