[cfe-commits] r90031 - /cfe/trunk/lib/Frontend/FrontendActions.cpp

Kovarththanan Rajaratnam kovarththanan.rajaratnam at gmail.com
Sat Nov 28 01:11:47 PST 2009


Author: krj
Date: Sat Nov 28 03:11:46 2009
New Revision: 90031

URL: http://llvm.org/viewvc/llvm-project?rev=90031&view=rev
Log:
Don't call exit(). llvm::llvm_report_error() will do just that

Modified:
    cfe/trunk/lib/Frontend/FrontendActions.cpp

Modified: cfe/trunk/lib/Frontend/FrontendActions.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/FrontendActions.cpp?rev=90031&r1=90030&r2=90031&view=diff

==============================================================================
--- cfe/trunk/lib/Frontend/FrontendActions.cpp (original)
+++ cfe/trunk/lib/Frontend/FrontendActions.cpp Sat Nov 28 03:11:46 2009
@@ -223,7 +223,6 @@
     // 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());





More information about the cfe-commits mailing list