From: Kovarththanan Rajaratnam Date: Sat, 28 Nov 2009 09:11:46 +0000 (+0000) Subject: Don't call exit(). llvm::llvm_report_error() will do just that X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1a9724b697598f754279559ffd16341c36c7f7e1;p=clang Don't call exit(). llvm::llvm_report_error() will do just that git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90031 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Frontend/FrontendActions.cpp b/lib/Frontend/FrontendActions.cpp index 52b3705024..6cb3928d51 100644 --- a/lib/Frontend/FrontendActions.cpp +++ b/lib/Frontend/FrontendActions.cpp @@ -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());