[PATCH] D139750: Optionally print symbolizer markup backtraces.

Daniel Thornburgh via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 9 16:48:01 PST 2022


mysterymath created this revision.
mysterymath added reviewers: mcgrathr, phosek, dblaikie, jhenderson.
Herald added subscribers: hiraditya, krytarowski.
Herald added a project: All.
mysterymath requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D139750

Files:
  llvm/lib/Support/Signals.cpp
  llvm/lib/Support/Unix/Signals.inc
  llvm/unittests/Support/CMakeLists.txt
  llvm/unittests/Support/SignalsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139750.481786.patch
Type: text/x-patch
Size: 8910 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221210/d10ed0f7/attachment.bin>


More information about the llvm-commits mailing list