diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-06-19 17:48:02 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-06-19 17:48:02 +0000 |
commit | 235a663d407182cb4e0f680df30ec9b6cfda0544 (patch) | |
tree | acef1700d1a480434de7fb490bbac25b214a0c42 | |
parent | ed35fd1c6db1680b4526ba64c94e5da6ec203be7 (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.cpp | 7 |
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()); |