forked from OSchip/llvm-project
Don't call exit(). llvm::llvm_report_error() will do just that
llvm-svn: 90031
This commit is contained in:
parent
ed0530f694
commit
b1034f7a24
|
@ -223,7 +223,6 @@ void GeneratePTHAction::ExecuteAction() {
|
|||
// FIXME: Don't fail this way.
|
||||
// FIXME: Verify that we can actually seek in the given file.
|
||||
llvm::llvm_report_error("PTH requires a seekable file for output!");
|
||||
::exit(1);
|
||||
}
|
||||
llvm::raw_fd_ostream *OS =
|
||||
CI.createDefaultOutputFile(true, getCurrentFile());
|
||||
|
|
Loading…
Reference in New Issue