summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2017-08-22 21:59:46 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2017-08-22 21:59:46 +0000
commit4942a0b0f30a68c4931098296a44e5f92cb9a8c0 (patch)
tree67e017fa0bbb86ceb69c382f2335a2cb6cd1adfb /llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
parent4a07bbe3f67c1f78da4522a1e9674ab89944653d (diff)
downloadbcm5719-llvm-4942a0b0f30a68c4931098296a44e5f92cb9a8c0.tar.gz
bcm5719-llvm-4942a0b0f30a68c4931098296a44e5f92cb9a8c0.zip
Revert "[llvm-dwarfdump] Print type names in DW_AT_type DIEs"
This reverts commit r311492. llvm-svn: 311499
Diffstat (limited to 'llvm/lib/DebugInfo/DWARF/DWARFDie.cpp')
-rw-r--r--llvm/lib/DebugInfo/DWARF/DWARFDie.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFDie.cpp b/llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
index 9aaa4dd53c9..9ad4b5212ee 100644
--- a/llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
+++ b/llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
@@ -135,8 +135,7 @@ static void dumpAttribute(raw_ostream &OS, const DWARFDie &Die,
// We have dumped the attribute raw value. For some attributes
// having both the raw value and the pretty-printed value is
// interesting. These attributes are handled below.
- if (Attr == DW_AT_specification || Attr == DW_AT_abstract_origin ||
- Attr == DW_AT_type) {
+ if (Attr == DW_AT_specification || Attr == DW_AT_abstract_origin) {
if (const char *Name = Die.getAttributeValueAsReferencedDie(Attr).getName(DINameKind::LinkageName))
OS << " \"" << Name << '\"';
} else if (Attr == DW_AT_APPLE_property_attribute) {
OpenPOWER on IntegriCloud