diff options
-rw-r--r-- | lld/ELF/InputFiles.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lld/ELF/InputFiles.cpp b/lld/ELF/InputFiles.cpp index 5385d2e2292..70a8760ead8 100644 --- a/lld/ELF/InputFiles.cpp +++ b/lld/ELF/InputFiles.cpp @@ -38,6 +38,7 @@ static uint16_t getEMachine(const ELFFileBase &B) { case ELF64LEKind: return getEMachine<ELF64LE>(B); } + llvm_unreachable("Invalid kind"); } bool ELFFileBase::isCompatibleWith(const ELFFileBase &Other) const { |