llvm::EnablePrettyStackTraceOnSigInfoForThisThread

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.

See Also

EnablePrettyStackTrace

PrettyStackTraceEntry