Print the stack trace using the given raw_ostream object.
Declared in <llvm/Support/Signals.h>
void
PrintStackTrace(
raw_ostream& OS,
int Depth = 0);
| 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. |