A frame of the "pretty" stack trace dumped when a program crashes.
Synopsis
Declared in <llvm/Support/PrettyStackTrace.h>
class PrettyStackTraceEntry;
Description
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
Name |
Description |
|
Construct a pretty stack‐trace entry and push it onto the stack. |
|
Destroy this entry and pop it from the pretty stack trace. |
getNextEntry ‐ Return the next entry in the list of frames. |
|
|
Emit information about this stack frame to OS. |
Friends
Name |
Description |
Reverse the singly linked list of pretty stack‐trace entries. |
Derived Classes
Name |
Description |
PassManagerPrettyStackEntry ‐ This is used to print informative information about what pass is running when/if a stack trace is generated. |
|
Pretty stack‐trace entry that prints a printf‐style formatted string. |
|
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