aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Dwarf.cpp
diff options
context:
space:
mode:
authorFrederic Riss <friss@apple.com>2014-09-05 07:21:40 +0000
committerFrederic Riss <friss@apple.com>2014-09-05 07:21:40 +0000
commit1a3736f4f6577c87748ab0f484041c947621ce75 (patch)
tree3727e9faa63fb8ce72046e40c4369681c580b114 /llvm/lib/Support/Dwarf.cpp
parent9232ea6ac5ee66edc8e8a0b1164ff4d2c9e86a15 (diff)
downloadllvm-1a3736f4f6577c87748ab0f484041c947621ce75.zip
llvm-1a3736f4f6577c87748ab0f484041c947621ce75.tar.gz
llvm-1a3736f4f6577c87748ab0f484041c947621ce75.tar.bz2
Reapply "[dwarfdump] Add missing DW_LANG_Mips_Assembler case to LanguageString()"
This commit was reverted in r217183, but is OK to go in again now that its dependency is commited (as of r217186). llvm-svn: 217231
Diffstat (limited to 'llvm/lib/Support/Dwarf.cpp')
-rw-r--r--llvm/lib/Support/Dwarf.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Support/Dwarf.cpp b/llvm/lib/Support/Dwarf.cpp
index a5a0577..5237ac2 100644
--- a/llvm/lib/Support/Dwarf.cpp
+++ b/llvm/lib/Support/Dwarf.cpp
@@ -598,6 +598,7 @@ const char *llvm::dwarf::LanguageString(unsigned Language) {
case DW_LANG_C_plus_plus_11: return "DW_LANG_C_plus_plus_11";
case DW_LANG_OCaml: return "DW_LANG_OCaml";
case DW_LANG_lo_user: return "DW_LANG_lo_user";
+ case DW_LANG_Mips_Assembler: return "DW_LANG_Mips_Assembler";
case DW_LANG_hi_user: return "DW_LANG_hi_user";
}
return nullptr;