[cfe-commits] r157346 - /cfe/trunk/lib/Driver/Driver.cpp
Chad Rosier
mcrosier at apple.com
Wed May 23 14:38:47 PDT 2012
Author: mcrosier
Date: Wed May 23 16:38:47 2012
New Revision: 157346
URL: http://llvm.org/viewvc/llvm-project?rev=157346&view=rev
Log:
[driver] Have the crash diagnostics print the clang version information.
rdar://11518308
Modified:
cfe/trunk/lib/Driver/Driver.cpp
Modified: cfe/trunk/lib/Driver/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Driver.cpp?rev=157346&r1=157345&r2=157346&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Driver.cpp (original)
+++ cfe/trunk/lib/Driver/Driver.cpp Wed May 23 16:38:47 2012
@@ -386,6 +386,9 @@
<< "Please submit a bug report to " BUG_REPORT_URL " and include command"
" line arguments and all diagnostic information.";
+ // Print the version of the compiler.
+ PrintVersion(C, llvm::errs());
+
// Suppress driver output and emit preprocessor output to temp file.
CCCIsCPP = true;
CCGenDiagnostics = true;
More information about the cfe-commits
mailing list