[all-commits] [llvm/llvm-project] 22b940: Optionally print symbolizer markup backtraces.

Daniel Thornburgh via All-commits all-commits at lists.llvm.org
Thu Aug 17 10:55:04 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 22b9404f09dc4411e4f6d05f4a1724897e5e131a
      https://github.com/llvm/llvm-project/commit/22b9404f09dc4411e4f6d05f4a1724897e5e131a
  Author: Daniel Thornburgh <dthorn at google.com>
  Date:   2023-08-17 (Thu, 17 Aug 2023)

  Changed paths:
    M llvm/docs/SymbolizerMarkupFormat.rst
    M llvm/lib/Support/Signals.cpp
    M llvm/lib/Support/Unix/Signals.inc
    M llvm/lib/Support/Windows/Signals.inc
    M llvm/unittests/Support/CMakeLists.txt
    A llvm/unittests/Support/SignalsTest.cpp

  Log Message:
  -----------
  Optionally print symbolizer markup backtraces.

When the environment LLVM_ENABLE_SYMBOLIZER_MARKUP is set, if
llvm-symbolizer fails or is disabled, this change will print a backtrace
in llvm-symbolizer markup instead of falling back to in-process
symbolization mechanisms.

This allows llvm-symbolizer to be run on the output later to produce a
high quality backtrace, even for fully-stripped LLVM utilities.

Reviewed By: mcgrathr

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




More information about the All-commits mailing list