diff options
-rw-r--r-- | lld/ELF/Writer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp index 01c81106137..ee04b68e087 100644 --- a/lld/ELF/Writer.cpp +++ b/lld/ELF/Writer.cpp @@ -634,6 +634,7 @@ Writer<ELFT>::createOutputSection(InputSectionBase<ELFT> *C, StringRef Name, case InputSectionBase<ELFT>::MipsReginfo: return new (MReginfoSecAlloc.Allocate()) MipsReginfoOutputSection<ELFT>(); } + llvm_unreachable("Unknown output section type"); } // Create output section objects and add them to OutputSections. |