LLVM 20.0.0git
|
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. More...
#include "llvm/Support/PrettyStackTrace.h"
Public Member Functions | |
PrettyStackTraceFormat (const char *Format,...) | |
void | print (raw_ostream &OS) const override |
print - Emit information about this stack frame to OS. | |
![]() | |
PrettyStackTraceEntry () | |
virtual | ~PrettyStackTraceEntry () |
virtual void | print (raw_ostream &OS) const =0 |
print - Emit information about this stack frame to OS. | |
const PrettyStackTraceEntry * | getNextEntry () const |
getNextEntry - Return the next entry in the list of frames. | |
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.
Definition at line 82 of file PrettyStackTrace.h.
Definition at line 237 of file PrettyStackTrace.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::data(), llvm::Format, llvm::SmallVectorImpl< T >::resize(), and Size.
|
overridevirtual |
print - Emit information about this stack frame to OS.
Implements llvm::PrettyStackTraceEntry.
Definition at line 253 of file PrettyStackTrace.cpp.
References OS.