ΒΆvoid PrintStackTraceOnErrorSignal(
    llvm::StringRef Argv0,
    bool DisableCrashReporting = false)

Description

When an error signal (such as SIGABRT or SIGSEGV) is delivered to the process, print a stack trace and then exit. Print a stack trace if a fatal signal occurs.

Declared at: llvm/include/llvm/Support/Signals.h:46

Parameters

llvm::StringRef Argv0
the current binary name, used to find the symbolizer relative to the current binary before searching $PATH; can be StringRef(), in which case we will only search $PATH.
bool DisableCrashReporting = false
if \c true, disable the normal crash reporting mechanisms on the underlying operating system.