llvm::PrettyStackTraceFormat

Pretty stack-trace entry that prints a printf-style formatted string.

Synopsis

Declared in <llvm/Support/PrettyStackTrace.h>

class PrettyStackTraceFormat
    : public PrettyStackTraceEntry

Description

The format string may use printf-style formatting but should not contain newlines. The formatted result is written to the stream as the stack trace when a crash occurs.

Base Classes

NameDescription
PrettyStackTraceEntryA frame of the "pretty" stack trace dumped when a program crashes.

Member Functions

NameDescription
PrettyStackTraceFormat [constructor]Construct an entry from a printf-style format string and arguments.
getNextEntry getNextEntry - Return the next entry in the list of frames.
print [virtual]Print the formatted string to OS.

Non-Member Functions

NameDescription
ReverseStackTraceReverse the singly linked list of pretty stack-trace entries.