mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 22:58:50 +00:00
[ObjectYAML] Support SHT_MIPS_DWARF section type flag
Also reorder SHT_MIPS_DWARF and SHT_MIPS_ABIFLAGS in Object/ELF.cpp. The test will be added by D58457. llvm-svn: 354563
This commit is contained in:
parent
93725d024d
commit
02790b9217
@ -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:
|
||||
|
@ -475,6 +475,7 @@ void ScalarEnumerationTraits<ELFYAML::ELF_SHT>::enumeration(
|
||||
case ELF::EM_MIPS:
|
||||
ECase(SHT_MIPS_REGINFO);
|
||||
ECase(SHT_MIPS_OPTIONS);
|
||||
ECase(SHT_MIPS_DWARF);
|
||||
ECase(SHT_MIPS_ABIFLAGS);
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user