From: Chad Rosier Date: Tue, 19 Jun 2012 17:48:02 +0000 (+0000) Subject: [driver] Make the crash diagnostic message more visable. Bug reports are being X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=235a663d407182cb4e0f680df30ec9b6cfda0544;p=clang [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 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());