Print the stack trace using the given raw_ostream object.

Synopsis

Declared in <llvm/Support/Signals.h>

void
PrintStackTrace(
    raw_ostream& OS,
    int Depth = 0);

Parameters

Name

Description

OS

Stream to which the stack trace is written.

Depth

refers to the number of stackframes to print. If not specified, the entire frame is printed.

Created with MrDocs