diff --git a/lib/MC/ELFObjectWriter.cpp b/lib/MC/ELFObjectWriter.cpp index 2eb62080e16..1e0d535251f 100644 --- a/lib/MC/ELFObjectWriter.cpp +++ b/lib/MC/ELFObjectWriter.cpp @@ -684,8 +684,9 @@ void ELFObjectWriterImpl::RecordRelocation(const MCAssembler &Asm, if (IsPCRel) { switch (Modifier) { default: + llvm_unreachable("Unimplemented"); + case MCSymbolRefExpr::VK_None: Type = ELF::R_386_PC32; - //llvm_unreachable("Unimplemented"); break; case MCSymbolRefExpr::VK_PLT: Type = ELF::R_386_PLT32;