[cfe-commits] r158727 - /cfe/trunk/lib/Driver/Driver.cpp
Chad Rosier
mcrosier at apple.com
Tue Jun 19 10:48:02 PDT 2012
Author: mcrosier
Date: Tue Jun 19 12:48:02 2012
New Revision: 158727
URL: http://llvm.org/viewvc/llvm-project?rev=158727&view=rev
Log:
[driver] Make the crash diagnostic message more visable. Bug reports are being
filed, but still missing the preprocessed source and associated run script.
rdar://11684107
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=158727&r1=158726&r2=158727&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Driver.cpp (original)
+++ cfe/trunk/lib/Driver/Driver.cpp Tue Jun 19 12:48:02 2012
@@ -383,8 +383,11 @@
return;
Diag(clang::diag::note_drv_command_failed_diag_msg)
- << "Please submit a bug report to " BUG_REPORT_URL " and include command"
- " line arguments and all diagnostic information.";
+ << "\n********************\n********************\n\n"
+ "PLEASE submit a BUG REPORT to " BUG_REPORT_URL " and _INCLUDE_ the "
+ "crash backtrace, all command line arguments, PREPROCESSED SOURCE, "
+ "and associated RUN SCRIPT.\n"
+ "\n********************\n********************";
// Print the version of the compiler.
PrintVersion(C, llvm::errs());
More information about the cfe-commits
mailing list