aboutsummaryrefslogtreecommitdiff
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
commit235a663d407182cb4e0f680df30ec9b6cfda0544 (patch)
treeacef1700d1a480434de7fb490bbac25b214a0c42
parented35fd1c6db1680b4526ba64c94e5da6ec203be7 (diff)
[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
-rw-r--r--lib/Driver/Driver.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp
index 9a73da6491..7c1b91b251 100644
--- a/lib/Driver/Driver.cpp
+++ b/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());