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.

Synopsis

Declared in <llvm/Support/Signals.h>

void
PrintStackTraceOnErrorSignal(
    StringRef Argv0,
    bool DisableCrashReporting = false);

Parameters

Name

Description

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.

DisableCrashReporting

if true, disable the normal crash reporting mechanisms on the underlying operating system.

Created with MrDocs