LLVM 22.0.0git
llvm::PrettyStackTraceFormat Class Reference

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"

Inheritance diagram for llvm::PrettyStackTraceFormat:
[legend]

Public Member Functions

 PrettyStackTraceFormat (const char *Format,...)
void print (raw_ostream &OS) const override
 print - Emit information about this stack frame to OS.
Public Member Functions inherited from llvm::PrettyStackTraceEntry
 PrettyStackTraceEntry ()
virtual ~PrettyStackTraceEntry ()
const PrettyStackTraceEntrygetNextEntry () const
 getNextEntry - Return the next entry in the list of frames.

Detailed Description

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 84 of file PrettyStackTrace.h.

Constructor & Destructor Documentation

◆ PrettyStackTraceFormat()

PrettyStackTraceFormat::PrettyStackTraceFormat ( const char * Format,
... )

Definition at line 250 of file PrettyStackTrace.cpp.

References llvm::Format, and Size.

Member Function Documentation

◆ print()

void PrettyStackTraceFormat::print ( raw_ostream & OS) const
overridevirtual

print - Emit information about this stack frame to OS.

Implements llvm::PrettyStackTraceEntry.

Definition at line 266 of file PrettyStackTrace.cpp.


The documentation for this class was generated from the following files: