summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-06-19 17:48:02 +0000
committerChad Rosier <mcrosier@apple.com>2012-06-19 17:48:02 +0000
commit47297636fdae6b94521948f940201cb33710b117 (patch)
treec884c54825168f449788faf859d9850b8039f449
parentfb370510e7ec776edcb97465c8a8f51c7dd7ace4 (diff)
downloadbcm5719-llvm-47297636fdae6b94521948f940201cb33710b117.tar.gz
bcm5719-llvm-47297636fdae6b94521948f940201cb33710b117.zip
[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 llvm-svn: 158727
-rw-r--r--clang/lib/Driver/Driver.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/clang/lib/Driver/Driver.cpp b/clang/lib/Driver/Driver.cpp
index 9a73da64911..7c1b91b251f 100644
--- a/clang/lib/Driver/Driver.cpp
+++ b/clang/lib/Driver/Driver.cpp
@@ -383,8 +383,11 @@ void Driver::generateCompilationDiagnostics(Compilation &C,
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());
OpenPOWER on IntegriCloud