From b1034f7a246bbc298ae315b802c8a4f2e90891f2 Mon Sep 17 00:00:00 2001 From: Kovarththanan Rajaratnam Date: Sat, 28 Nov 2009 09:11:46 +0000 Subject: Don't call exit(). llvm::llvm_report_error() will do just that llvm-svn: 90031 --- clang/lib/Frontend/FrontendActions.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'clang/lib/Frontend/FrontendActions.cpp') diff --git a/clang/lib/Frontend/FrontendActions.cpp b/clang/lib/Frontend/FrontendActions.cpp index 52b37050240..6cb3928d51d 100644 --- a/clang/lib/Frontend/FrontendActions.cpp +++ b/clang/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()); -- cgit v1.2.3