summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2018-01-25 11:19:08 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2018-01-25 11:19:08 +0000
commit2c14b15538c1bd2974853aa24581c43b3093e3a7 (patch)
tree1df5c65ed9999f03c0a0b7942779c97bc58f47bf /llvm/include
parent3417a78781d5129fef29514b43317f2784d1d528 (diff)
downloadbcm5719-llvm-2c14b15538c1bd2974853aa24581c43b3093e3a7.tar.gz
bcm5719-llvm-2c14b15538c1bd2974853aa24581c43b3093e3a7.zip
[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
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/BinaryFormat/Dwarf.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/include/llvm/BinaryFormat/Dwarf.h b/llvm/include/llvm/BinaryFormat/Dwarf.h
index 3f2d328b915..e355b442e35 100644
--- a/llvm/include/llvm/BinaryFormat/Dwarf.h
+++ b/llvm/include/llvm/BinaryFormat/Dwarf.h
@@ -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
OpenPOWER on IntegriCloud