LLVM
8.0.1
|
PrettyStackTraceEntry - This class is used to represent a frame of the "pretty" stack trace that is dumped when a program crashes. More...
#include "llvm/Support/PrettyStackTrace.h"
Public Member Functions | |
PrettyStackTraceEntry () | |
virtual | ~PrettyStackTraceEntry () |
virtual void | print (raw_ostream &OS) const =0 |
print - Emit information about this stack frame to OS. More... | |
const PrettyStackTraceEntry * | getNextEntry () const |
getNextEntry - Return the next entry in the list of frames. More... | |
Friends | |
PrettyStackTraceEntry * | ReverseStackTrace (PrettyStackTraceEntry *) |
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.
Definition at line 32 of file PrettyStackTrace.h.
PrettyStackTraceEntry::PrettyStackTraceEntry | ( | ) |
Definition at line 134 of file PrettyStackTrace.cpp.
References PrettyStackTraceHead.
|
virtual |
Definition at line 142 of file PrettyStackTrace.cpp.
References assert(), and PrettyStackTraceHead.
|
inline |
getNextEntry - Return the next entry in the list of frames.
Definition at line 46 of file PrettyStackTrace.h.
Referenced by PrintStack().
|
pure virtual |
print - Emit information about this stack frame to OS.
Implemented in llvm::PassManagerPrettyStackEntry, llvm::PrettyStackTraceProgram, llvm::PrettyStackTraceFormat, and llvm::PrettyStackTraceString.
Referenced by llvm::PrettyStackTraceProgram::PrettyStackTraceProgram(), and llvm::PrettyStackTraceString::PrettyStackTraceString().
|
friend |
Definition at line 46 of file PrettyStackTrace.cpp.