Enables (or disables) dumping a "pretty" stack trace when the user sends SIGINFO or SIGUSR1 to the current process.
Synopsis
Declared in <llvm/Support/PrettyStackTrace.h>
void
EnablePrettyStackTraceOnSigInfoForThisThread(bool ShouldEnable = true);
Description
This is a per‐thread decision so that a program can choose to print stack traces only on a primary thread, or on all threads that use PrettyStackTraceEntry.
Parameters
Name |
Description |
ShouldEnable |
If true, enable pretty stack traces for SIGINFO/SIGUSR1 on this thread; if false, disable them. |