[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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158727 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp
index 9a73da6..7c1b91b 100644
--- a/lib/Driver/Driver.cpp
+++ b/lib/Driver/Driver.cpp
@@ -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());