diff options
-rw-r--r-- | lld/ELF/InputSection.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lld/ELF/InputSection.cpp b/lld/ELF/InputSection.cpp index 2da43a95e2e..5916ad7f558 100644 --- a/lld/ELF/InputSection.cpp +++ b/lld/ELF/InputSection.cpp @@ -52,6 +52,7 @@ InputSectionBase<ELFT>::getOffset(uintX_t Offset) { case Merge: return cast<MergeInputSection<ELFT>>(this)->getOffset(Offset); } + llvm_unreachable("Invalid section kind"); } template <class ELFT> |