LLVM  14.0.0git
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
llvm::symbolize::PlainPrinterBase Class Referenceabstract

#include "llvm/DebugInfo/Symbolize/DIPrinter.h"

Inheritance diagram for llvm::symbolize::PlainPrinterBase:
Inheritance graph
[legend]
Collaboration diagram for llvm::symbolize::PlainPrinterBase:
Collaboration graph
[legend]

Public Member Functions

 PlainPrinterBase (raw_ostream &OS, raw_ostream &ES, PrinterConfig &Config)
 
void print (const Request &Request, const DILineInfo &Info) override
 
void print (const Request &Request, const DIInliningInfo &Info) override
 
void print (const Request &Request, const DIGlobal &Global) override
 
void print (const Request &Request, const std::vector< DILocal > &Locals) override
 
void printInvalidCommand (const Request &Request, StringRef Command) override
 
bool printError (const Request &Request, const ErrorInfoBase &ErrorInfo, StringRef ErrorBanner) override
 
void listBegin () override
 
void listEnd () override
 
- Public Member Functions inherited from llvm::symbolize::DIPrinter
 DIPrinter ()
 
virtual ~DIPrinter ()
 

Protected Member Functions

void print (const DILineInfo &Info, bool Inlined)
 
void printFunctionName (StringRef FunctionName, bool Inlined)
 
virtual void printSimpleLocation (StringRef Filename, const DILineInfo &Info)=0
 
void printContext (SourceCode SourceCode)
 
void printVerbose (StringRef Filename, const DILineInfo &Info)
 
virtual void printStartAddress (const DILineInfo &Info)
 
virtual void printFooter ()
 

Protected Attributes

raw_ostreamOS
 
raw_ostreamES
 
PrinterConfig Config
 

Detailed Description

Definition at line 70 of file DIPrinter.h.

Constructor & Destructor Documentation

◆ PlainPrinterBase()

llvm::symbolize::PlainPrinterBase::PlainPrinterBase ( raw_ostream OS,
raw_ostream ES,
PrinterConfig Config 
)
inline

Definition at line 89 of file DIPrinter.h.

Member Function Documentation

◆ listBegin()

void llvm::symbolize::PlainPrinterBase::listBegin ( )
inlineoverridevirtual

Implements llvm::symbolize::DIPrinter.

Definition at line 103 of file DIPrinter.h.

◆ listEnd()

void llvm::symbolize::PlainPrinterBase::listEnd ( )
inlineoverridevirtual

Implements llvm::symbolize::DIPrinter.

Definition at line 104 of file DIPrinter.h.

◆ print() [1/5]

void llvm::symbolize::PlainPrinterBase::print ( const DILineInfo Info,
bool  Inlined 
)
protected

◆ print() [2/5]

void llvm::symbolize::PlainPrinterBase::print ( const Request Request,
const DIGlobal Global 
)
overridevirtual

◆ print() [3/5]

void llvm::symbolize::PlainPrinterBase::print ( const Request Request,
const DIInliningInfo Info 
)
overridevirtual

Implements llvm::symbolize::DIPrinter.

Definition at line 192 of file DIPrinter.cpp.

References llvm::symbolize::Request::Address, I, Info, print(), and printFooter().

◆ print() [4/5]

void llvm::symbolize::PlainPrinterBase::print ( const Request Request,
const DILineInfo Info 
)
overridevirtual

Implements llvm::symbolize::DIPrinter.

Definition at line 186 of file DIPrinter.cpp.

References llvm::symbolize::Request::Address, Info, print(), and printFooter().

◆ print() [5/5]

void llvm::symbolize::PlainPrinterBase::print ( const Request Request,
const std::vector< DILocal > &  Locals 
)
overridevirtual

◆ printContext()

void llvm::symbolize::PlainPrinterBase::printContext ( SourceCode  SourceCode)
protected

Definition at line 120 of file DIPrinter.cpp.

References llvm::symbolize::SourceCode::format(), and OS.

◆ printError()

bool llvm::symbolize::PlainPrinterBase::printError ( const Request Request,
const ErrorInfoBase ErrorInfo,
StringRef  ErrorBanner 
)
overridevirtual

Implements llvm::symbolize::DIPrinter.

Definition at line 266 of file DIPrinter.cpp.

References ES, and llvm::ErrorInfoBase::log().

◆ printFooter()

virtual void llvm::symbolize::PlainPrinterBase::printFooter ( )
inlineprotectedvirtual

Definition at line 83 of file DIPrinter.h.

Referenced by print().

◆ printFunctionName()

void llvm::symbolize::PlainPrinterBase::printFunctionName ( StringRef  FunctionName,
bool  Inlined 
)
protected

◆ printInvalidCommand()

void llvm::symbolize::PlainPrinterBase::printInvalidCommand ( const Request Request,
StringRef  Command 
)
overridevirtual

Implements llvm::symbolize::DIPrinter.

Definition at line 261 of file DIPrinter.cpp.

References OS.

◆ printSimpleLocation()

virtual void llvm::symbolize::PlainPrinterBase::printSimpleLocation ( StringRef  Filename,
const DILineInfo Info 
)
protectedpure virtual

Referenced by print().

◆ printStartAddress()

virtual void llvm::symbolize::PlainPrinterBase::printStartAddress ( const DILineInfo Info)
inlineprotectedvirtual

Definition at line 82 of file DIPrinter.h.

Referenced by printVerbose().

◆ printVerbose()

void llvm::symbolize::PlainPrinterBase::printVerbose ( StringRef  Filename,
const DILineInfo Info 
)
protected

Definition at line 151 of file DIPrinter.cpp.

References Info, OS, and printStartAddress().

Referenced by print().

Member Data Documentation

◆ Config

PrinterConfig llvm::symbolize::PlainPrinterBase::Config
protected

Definition at line 74 of file DIPrinter.h.

Referenced by print(), and printFunctionName().

◆ ES

raw_ostream& llvm::symbolize::PlainPrinterBase::ES
protected

Definition at line 73 of file DIPrinter.h.

Referenced by printError().

◆ OS

raw_ostream& llvm::symbolize::PlainPrinterBase::OS
protected

Definition at line 72 of file DIPrinter.h.

Referenced by print(), printContext(), printFunctionName(), printInvalidCommand(), and printVerbose().


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