1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

COFF: Add back an assertion that is superseded by r222124

llvm-svn: 222735
This commit is contained in:
David Majnemer 2014-11-25 07:43:14 +00:00
parent 705e1231b2
commit 3f7ae9c4d6

View File

@ -1060,7 +1060,7 @@ symbol_iterator COFFObjectFile::getRelocationSymbol(DataRefImpl Rel) const {
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));
}