LLVM  6.0.0svn
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]
Collaboration diagram for llvm::PrettyStackTraceString:
Collaboration 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. 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

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

Constructor & Destructor Documentation

◆ PrettyStackTraceString()

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

Definition at line 55 of file PrettyStackTrace.h.

References llvm::PrettyStackTraceEntry::print().

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


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