Enables (or disables) dumping a "pretty" stack trace when the user sends SIGINFO or SIGUSR1 to the current process.
Declared in <llvm/Support/PrettyStackTrace.h>
void
EnablePrettyStackTraceOnSigInfoForThisThread(bool ShouldEnable = true);
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.
| Name | Description |
|---|---|
| ShouldEnable | If true, enable pretty stack traces for SIGINFO/SIGUSR1 on this thread; if false, disable them. |
EnablePrettyStackTrace
PrettyStackTraceEntry