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 |
|
Default constructor |
|
Destructor |
getNextEntry ‐ Return the next entry in the list of frames. |
|
|
print ‐ Emit information about this stack frame to OS. |
Friends
Name |
Description |
Derived Classes
Name |
Description |
PassManagerPrettyStackEntry ‐ This is used to print informative information about what pass is running when/if a stack trace is generated. |
|
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 ‐ This object prints a specified program arguments to the stream as the stack trace when a crash occurs. |
|
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