From 2c14b15538c1bd2974853aa24581c43b3093e3a7 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Thu, 25 Jan 2018 11:19:08 +0000 Subject: [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 --- llvm/lib/BinaryFormat/Dwarf.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'llvm/lib/BinaryFormat/Dwarf.cpp') diff --git a/llvm/lib/BinaryFormat/Dwarf.cpp b/llvm/lib/BinaryFormat/Dwarf.cpp index 74f86a84a98..0ec57870f65 100644 --- a/llvm/lib/BinaryFormat/Dwarf.cpp +++ b/llvm/lib/BinaryFormat/Dwarf.cpp @@ -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(); } -- cgit v1.2.3