From c7353b5890852597c85838362d0e95d00bc89c55 Mon Sep 17 00:00:00 2001 From: David Majnemer Date: Tue, 25 Nov 2014 07:43:14 +0000 Subject: [PATCH] COFF: Add back an assertion that is superseded by r222124 llvm-svn: 222735 --- llvm/lib/Object/COFFObjectFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Object/COFFObjectFile.cpp b/llvm/lib/Object/COFFObjectFile.cpp index d5ff7d6..04cd616 100644 --- a/llvm/lib/Object/COFFObjectFile.cpp +++ b/llvm/lib/Object/COFFObjectFile.cpp @@ -1060,7 +1060,7 @@ symbol_iterator COFFObjectFile::getRelocationSymbol(DataRefImpl Rel) const { else if (SymbolTable32) Ref.p = reinterpret_cast(SymbolTable32 + R->SymbolTableIndex); else - return symbol_end(); + llvm_unreachable("no symbol table pointer!"); return symbol_iterator(SymbolRef(Ref, this)); } -- 2.7.4