namespace llvm {
void reportError(Twine Msg) {
- outs() << Msg << "\n";
+ outs() << "\nError reading file: " << Msg << ".\n";
outs().flush();
exit(1);
}
if (!EC)
return;
- reportError(Twine("\nError reading file: ") + EC.message() + ".");
+ reportError(EC.message());
}
bool relocAddressLess(RelocationRef a, RelocationRef b) {