diff options
Diffstat (limited to 'lld/ELF/Writer.cpp')
| -rw-r--r-- | lld/ELF/Writer.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp index 5acb5e08dfa..31f64083a87 100644 --- a/lld/ELF/Writer.cpp +++ b/lld/ELF/Writer.cpp @@ -302,8 +302,6 @@ template <class ELFT> void SymbolTableSection<ELFT>::writeTo(uint8_t *Buf) { const Elf_Sym *InputSym = nullptr; switch (Body->kind()) { - case SymbolBody::UndefinedSyntheticKind: - llvm_unreachable("Should be defined by now"); case SymbolBody::DefinedRegularKind: { auto *Def = cast<DefinedRegular<ELFT>>(Body); InputSym = &Def->Sym; |

