[llvm-objdump] Add missing call to exit(1).

Reported by: Rafael Espindola.

llvm-svn: 244184
This commit is contained in:
Davide Italiano 2015-08-06 00:18:52 +00:00
parent 3b8018069e
commit 7f6c301090
1 changed files with 1 additions and 0 deletions

View File

@ -249,6 +249,7 @@ void llvm::error(std::error_code EC) {
outs() << ToolName << ": error reading file: " << EC.message() << ".\n";
outs().flush();
exit(1);
}
static void report_error(StringRef File, std::error_code EC) {