LLVM 19.0.0git
Public Member Functions | List of all members
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:
Inheritance graph
[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 ()
 
virtual void print (raw_ostream &OS) const =0
 print - Emit information about this stack frame to OS.
 
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 82 of file PrettyStackTrace.h.

Constructor & Destructor Documentation

◆ PrettyStackTraceFormat()

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

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 254 of file PrettyStackTrace.cpp.

References OS.


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