LLVM 19.0.0git
Public Member Functions | List of all members
llvm::PrettyStackTraceString Class Reference

PrettyStackTraceString - This object prints a specified string (which 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::PrettyStackTraceString:
Inheritance graph
[legend]

Public Member Functions

 PrettyStackTraceString (const char *str)
 
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

PrettyStackTraceString - This object prints a specified string (which should not contain newlines) to the stream as the stack trace when a crash occurs.

Definition at line 72 of file PrettyStackTrace.h.

Constructor & Destructor Documentation

◆ PrettyStackTraceString()

llvm::PrettyStackTraceString::PrettyStackTraceString ( const char str)
inline

Definition at line 75 of file PrettyStackTrace.h.

Member Function Documentation

◆ print()

void PrettyStackTraceString::print ( raw_ostream OS) const
overridevirtual

print - Emit information about this stack frame to OS.

Implements llvm::PrettyStackTraceEntry.

Definition at line 236 of file PrettyStackTrace.cpp.

References OS.


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