summaryrefslogtreecommitdiffstats
path: root/llvm/lib/BinaryFormat/Dwarf.cpp
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/lib/BinaryFormat/Dwarf.cpp
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/lib/BinaryFormat/Dwarf.cpp')
-rw-r--r--llvm/lib/BinaryFormat/Dwarf.cpp3
1 files changed, 3 insertions, 0 deletions
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();
}
OpenPOWER on IntegriCloud