[llvm] r222735 - COFF: Add back an assertion that is superseded by r222124
David Majnemer
david.majnemer at gmail.com
Mon Nov 24 23:43:14 PST 2014
Author: majnemer
Date: Tue Nov 25 01:43:14 2014
New Revision: 222735
URL: http://llvm.org/viewvc/llvm-project?rev=222735&view=rev
Log:
COFF: Add back an assertion that is superseded by r222124
Modified:
llvm/trunk/lib/Object/COFFObjectFile.cpp
Modified: llvm/trunk/lib/Object/COFFObjectFile.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Object/COFFObjectFile.cpp?rev=222735&r1=222734&r2=222735&view=diff
==============================================================================
--- llvm/trunk/lib/Object/COFFObjectFile.cpp (original)
+++ llvm/trunk/lib/Object/COFFObjectFile.cpp Tue Nov 25 01:43:14 2014
@@ -1060,7 +1060,7 @@ symbol_iterator COFFObjectFile::getReloc
else if (SymbolTable32)
Ref.p = reinterpret_cast<uintptr_t>(SymbolTable32 + R->SymbolTableIndex);
else
- return symbol_end();
+ llvm_unreachable("no symbol table pointer!");
return symbol_iterator(SymbolRef(Ref, this));
}
More information about the llvm-commits
mailing list