[all-commits] [llvm/llvm-project] ce1fa2: [Driver] When forcing a crash print the bug report...

john-brawn-arm via All-commits all-commits at lists.llvm.org
Mon Jun 29 05:15:29 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ce1fa201af77e60d31b48571ffa1f85b919f6245
      https://github.com/llvm/llvm-project/commit/ce1fa201af77e60d31b48571ffa1f85b919f6245
  Author: John Brawn <john.brawn at arm.com>
  Date:   2020-06-29 (Mon, 29 Jun 2020)

  Changed paths:
    M clang/test/Driver/crash-report-crashfile.m
    M clang/test/Driver/crash-report-modules.m
    M clang/test/Driver/crash-report-null.test
    M clang/tools/driver/driver.cpp
    M llvm/include/llvm/Support/PrettyStackTrace.h
    M llvm/lib/Support/PrettyStackTrace.cpp

  Log Message:
  -----------
  [Driver] When forcing a crash print the bug report message

Commit a945037e8fd0c30e250a62211469eea6765a36ae moved the printing of the
"PLEASE submit a bug report" message to the crash handler, but that means we
don't print it when forcing a crash using FORCE_CLANG_DIAGNOSTICS_CRASH. Fix
this by adding a function to get the bug report message and printing it when
forcing a crash.

Differential Revision: https://reviews.llvm.org/D81672




More information about the All-commits mailing list