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 |
|---|---|
| Depth | refers to the number of stackframes to print. If not specified, the entire frame is printed. |
| OS | This class implements an extremely fast bulk output stream that can only output to a stream. It does not support seeking, reopening, rewinding, line buffered disciplines etc. It is a simple buffer that outputs a chunk at a time. |