PrettyStackTraceEntry ‐ 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.

Synopsis

Declared in <llvm/Support/PrettyStackTrace.h>

class PrettyStackTraceEntry;

Member Functions

Name

Description

PrettyStackTraceEntry [constructor]

Default constructor

~PrettyStackTraceEntry [destructor] [virtual]

Destructor

getNextEntry

getNextEntry ‐ Return the next entry in the list of frames.

print [virtual]

print ‐ Emit information about this stack frame to OS.

Friends

Name

Description

llvm::ReverseStackTrace

Derived Classes

Name

Description

PassManagerPrettyStackEntry

PassManagerPrettyStackEntry ‐ This is used to print informative information about what pass is running when/if a stack trace is generated.

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.

PrettyStackTraceProgram

PrettyStackTraceProgram ‐ This object prints a specified program arguments to the stream as the stack trace when a crash occurs.

PrettyStackTraceString

PrettyStackTraceString ‐ This object prints a specified string (which should not contain newlines) to the stream as the stack trace when a crash occurs.

Created with MrDocs