diff --git a/lib/Object/ELF.cpp b/lib/Object/ELF.cpp index 0cf928651cd..314be34ef59 100644 --- a/lib/Object/ELF.cpp +++ b/lib/Object/ELF.cpp @@ -219,8 +219,8 @@ StringRef llvm::object::getELFSectionTypeName(uint32_t Machine, unsigned Type) { switch (Type) { STRINGIFY_ENUM_CASE(ELF, SHT_MIPS_REGINFO); STRINGIFY_ENUM_CASE(ELF, SHT_MIPS_OPTIONS); - STRINGIFY_ENUM_CASE(ELF, SHT_MIPS_ABIFLAGS); STRINGIFY_ENUM_CASE(ELF, SHT_MIPS_DWARF); + STRINGIFY_ENUM_CASE(ELF, SHT_MIPS_ABIFLAGS); } break; default: diff --git a/lib/ObjectYAML/ELFYAML.cpp b/lib/ObjectYAML/ELFYAML.cpp index 7c52a6c31e4..d709f997966 100644 --- a/lib/ObjectYAML/ELFYAML.cpp +++ b/lib/ObjectYAML/ELFYAML.cpp @@ -475,6 +475,7 @@ void ScalarEnumerationTraits::enumeration( case ELF::EM_MIPS: ECase(SHT_MIPS_REGINFO); ECase(SHT_MIPS_OPTIONS); + ECase(SHT_MIPS_DWARF); ECase(SHT_MIPS_ABIFLAGS); break; default: