[cfe-commits] r158727 - /cfe/trunk/lib/Driver/Driver.cpp
Matt Beaumont-Gay
matthewbg at google.com
Tue Jun 19 10:58:20 PDT 2012
Experience says that you will never completely succeed at getting all
users to read what your program prints out :)
On Tue, Jun 19, 2012 at 10:48 AM, Chad Rosier <mcrosier at apple.com> wrote:
> Author: mcrosier
> Date: Tue Jun 19 12:48:02 2012
> New Revision: 158727
>
> URL: http://llvm.org/viewvc/llvm-project?rev=158727&view=rev
> Log:
> [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
>
> Modified:
> cfe/trunk/lib/Driver/Driver.cpp
>
> Modified: cfe/trunk/lib/Driver/Driver.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Driver.cpp?rev=158727&r1=158726&r2=158727&view=diff
> ==============================================================================
> --- cfe/trunk/lib/Driver/Driver.cpp (original)
> +++ cfe/trunk/lib/Driver/Driver.cpp Tue Jun 19 12:48:02 2012
> @@ -383,8 +383,11 @@
> 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());
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
More information about the cfe-commits
mailing list