Use report_fatal_error() instead of llvm_unreachable() to show broken input file error.
llvm-svn: 187670
This commit is contained in:
parent
9e8cdf06fd
commit
53f4660680
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue