[PATCH] D63750: Dump current PrettyStackTrace on SIGINFO (Ctrl-T)

Jordan Rose via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 25 11:32:41 PDT 2019


jordan_rose updated this revision to Diff 206490.
jordan_rose retitled this revision from "[WIP} Dump current PrettyStackTrace on SIGINFO (Ctrl-T)" to "Dump current PrettyStackTrace on SIGINFO (Ctrl-T)".
jordan_rose edited the summary of this revision.
jordan_rose added a comment.

Made it a per-thread opt-in, leaving the potential for it to be useful in multi-threaded programs. (It's off by default.) Also added a SaveAndRestore of `errno` for SIGINFO handlers, though this one doesn't need it.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63750/new/

https://reviews.llvm.org/D63750

Files:
  include/llvm/Support/PrettyStackTrace.h
  include/llvm/Support/Signals.h
  lib/Support/PrettyStackTrace.cpp
  lib/Support/Unix/Signals.inc
  lib/Support/Windows/Signals.inc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63750.206490.patch
Type: text/x-patch
Size: 12250 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190625/5d69929b/attachment.bin>


More information about the llvm-commits mailing list