summaryrefslogtreecommitdiffstats
path: root/llvm/lib/BinaryFormat
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2018-07-13 16:06:17 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2018-07-13 16:06:17 +0000
commit8afd926077008ed405ef3b99582175ea38604a42 (patch)
tree542ba0517fd7dfd4009e7a775ace947897217838 /llvm/lib/BinaryFormat
parent4a547fb62d40a2406b5992e80cc27824f752b3db (diff)
downloadbcm5719-llvm-8afd926077008ed405ef3b99582175ea38604a42.tar.gz
bcm5719-llvm-8afd926077008ed405ef3b99582175ea38604a42.zip
[dwarfdump] Pretty print DW_AT_APPLE_runtime_class
Instead of printing DW_AT_APPLE_runtime_class (0x10) we now print DW_AT_APPLE_runtime_class (DW_LANG_ObjC) llvm-svn: 337011
Diffstat (limited to 'llvm/lib/BinaryFormat')
-rw-r--r--llvm/lib/BinaryFormat/Dwarf.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/BinaryFormat/Dwarf.cpp b/llvm/lib/BinaryFormat/Dwarf.cpp
index dd1ecea1782..a2e86c7a014 100644
--- a/llvm/lib/BinaryFormat/Dwarf.cpp
+++ b/llvm/lib/BinaryFormat/Dwarf.cpp
@@ -564,6 +564,8 @@ StringRef llvm::dwarf::AttributeValueString(uint16_t Attr, unsigned Val) {
return InlineCodeString(Val);
case DW_AT_ordering:
return ArrayOrderString(Val);
+ case DW_AT_APPLE_runtime_class:
+ return LanguageString(Val);
}
return StringRef();
OpenPOWER on IntegriCloud