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:
parent
5eb4acbada
commit
4f365e26b8
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user