LLVM  8.0.1
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]
Collaboration diagram for llvm::PrettyStackTraceFormat:
Collaboration 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. More...
 
- Public Member Functions inherited from llvm::PrettyStackTraceEntry
 PrettyStackTraceEntry ()
 
virtual ~PrettyStackTraceEntry ()
 
const PrettyStackTraceEntrygetNextEntry () const
 getNextEntry - Return the next entry in the list of frames. More...
 

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

Constructor & Destructor Documentation

◆ PrettyStackTraceFormat()

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

Definition at line 152 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 168 of file PrettyStackTrace.cpp.


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