forked from OSchip/llvm-project
[llvm-objdump] Add missing call to exit(1).
Reported by: Rafael Espindola. llvm-svn: 244184
This commit is contained in:
parent
3b8018069e
commit
7f6c301090
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue