1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

Replace unreachable code with llvm_unreachable.

llvm-svn: 236261
This commit is contained in:
Rafael Espindola 2015-04-30 21:20:06 +00:00
parent 5eb4acbada
commit 4f365e26b8

View File

@ -1338,7 +1338,7 @@ void ELFObjectWriter::writeSection(MCAssembler &Asm,
break;
case ELF::SHT_DYNAMIC:
sh_link = ShStrTabBuilder.getOffset(Section.getSectionName());
llvm_unreachable("SHT_DYNAMIC in a relocatable object");
break;
case ELF::SHT_REL: