mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-20 08:54:08 +00:00
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:
parent
d80f5165d1
commit
15953ff2df
@ -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…
x
Reference in New Issue
Block a user