class PrettyStackTraceEntry

Declaration

class PrettyStackTraceEntry { /* full declaration omitted */ };

Description

PrettyStackTraceEntry - This class is used to represent a frame of the "pretty" stack trace that is dumped when a program crashes. You can define subclasses of this and declare them on the program stack: when they are constructed and destructed, they will add their symbolic frames to a virtual stack trace. This gets dumped out if the program crashes.

Declared at: llvm/include/llvm/Support/PrettyStackTrace.h:45

Method Overview

Methods

PrettyStackTraceEntry()

Declared at: llvm/include/llvm/Support/PrettyStackTrace.h:52

const llvm::PrettyStackTraceEntry* getNextEntry()
    const

Description

getNextEntry - Return the next entry in the list of frames.

Declared at: llvm/include/llvm/Support/PrettyStackTrace.h:59

virtual void print(llvm::raw_ostream& OS) const

Description

print - Emit information about this stack frame to OS.

Declared at: llvm/include/llvm/Support/PrettyStackTrace.h:56

Parameters

llvm::raw_ostream& OS

virtual ~PrettyStackTraceEntry()

Declared at: llvm/include/llvm/Support/PrettyStackTrace.h:53