Use report_fatal_error() instead of llvm_unreachable() to show broken input file error.

llvm-svn: 187670
This commit is contained in:
Rui Ueyama 2013-08-02 20:45:25 +00:00
parent 9e8cdf06fd
commit 53f4660680
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ private:
for (COFFDefinedFileAtom *atom : atoms)
if (targetOffset < atom->originalOffset() + atom->size())
return atom;
llvm_unreachable("Relocation target out of range");
llvm::report_fatal_error("Relocation target out of range");
}
/// Find the atom for the symbol that was at the \p index in the symbol