Don't call exit(). llvm::llvm_report_error() will do just that

llvm-svn: 90031
This commit is contained in:
Kovarththanan Rajaratnam 2009-11-28 09:11:46 +00:00
parent ed0530f694
commit b1034f7a24
1 changed files with 0 additions and 1 deletions

View File

@ -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());