[llvm-commits] [llvm] r116738 - /llvm/trunk/lib/MC/ELFObjectWriter.cpp
Rafael Espindola
rafael.espindola at gmail.com
Mon Oct 18 12:33:01 PDT 2010
Author: rafael
Date: Mon Oct 18 14:33:01 2010
New Revision: 116738
URL: http://llvm.org/viewvc/llvm-project?rev=116738&view=rev
Log:
Reenable assert.
Modified:
llvm/trunk/lib/MC/ELFObjectWriter.cpp
Modified: llvm/trunk/lib/MC/ELFObjectWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/ELFObjectWriter.cpp?rev=116738&r1=116737&r2=116738&view=diff
==============================================================================
--- llvm/trunk/lib/MC/ELFObjectWriter.cpp (original)
+++ llvm/trunk/lib/MC/ELFObjectWriter.cpp Mon Oct 18 14:33:01 2010
@@ -684,8 +684,9 @@
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;
More information about the llvm-commits
mailing list