]> granicus.if.org Git - clang/commitdiff
[driver] Make the crash diagnostic message more visable. Bug reports are being
authorChad Rosier <mcrosier@apple.com>
Tue, 19 Jun 2012 17:48:02 +0000 (17:48 +0000)
committerChad Rosier <mcrosier@apple.com>
Tue, 19 Jun 2012 17:48:02 +0000 (17:48 +0000)
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

lib/Driver/Driver.cpp

index 9a73da64911b6268887207315af0ba42751f44cb..7c1b91b251f11729660eb6618f433b13652a51e0 100644 (file)
@@ -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());