Replace unreachable code with llvm_unreachable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236261 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2015-04-30 21:20:06 +00:00
parent d80f5165d1
commit 15953ff2df

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: