From 24dc9ecdc55d732ac93fc782d6232413fe2c1160 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Mon, 18 Oct 2010 19:33:01 +0000 Subject: [PATCH] Reenable assert. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116738 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/MC/ELFObjectWriter.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;