mirror of
https://github.com/intel/llvm.git
synced 2026-01-25 10:55:58 +08:00
Don't call exit(). llvm::llvm_report_error() will do just that
llvm-svn: 90031
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user