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:
parent
705e1231b2
commit
3f7ae9c4d6
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user