llvm::PrettyStackTraceFormat

PrettyStackTraceFormat - This object prints a string (which may use printf-style formatting but should not contain newlines) to the stream as the stack trace when a crash occurs.

Synopsis

Declared in <llvm/Support/PrettyStackTrace.h>

class PrettyStackTraceFormat
    : public PrettyStackTraceEntry

Base Classes

NameDescription
PrettyStackTraceEntryPrettyStackTraceEntry - This class is used to represent a frame of the "pretty" stack trace that is dumped when a program crashes. You can define subclasses of this and declare them on the program stack: when they are constructed and destructed, they will add their symbolic frames to a virtual stack trace. This gets dumped out if the program crashes.

Member Functions

NameDescription
PrettyStackTraceFormat [constructor]Construct from char
getNextEntry getNextEntry - Return the next entry in the list of frames.
print [virtual]