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 0349a019ca
commit c7353b5890
1 changed files with 1 additions and 1 deletions

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));
}