LLVM  14.0.0git
Public Member Functions | List of all members
llvm::symbolize::JSONPrinter Class Reference

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

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

Public Member Functions

 JSONPrinter (raw_ostream &OS, 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 ()
 

Detailed Description

Definition at line 127 of file DIPrinter.h.

Constructor & Destructor Documentation

◆ JSONPrinter()

llvm::symbolize::JSONPrinter::JSONPrinter ( raw_ostream OS,
PrinterConfig Config 
)
inline

Definition at line 140 of file DIPrinter.h.

Member Function Documentation

◆ listBegin()

void llvm::symbolize::JSONPrinter::listBegin ( )
overridevirtual

Implements llvm::symbolize::DIPrinter.

Definition at line 386 of file DIPrinter.cpp.

References assert().

◆ listEnd()

void llvm::symbolize::JSONPrinter::listEnd ( )
overridevirtual

Implements llvm::symbolize::DIPrinter.

Definition at line 391 of file DIPrinter.cpp.

References assert(), and move.

◆ print() [1/4]

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

◆ print() [2/4]

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

◆ print() [3/4]

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

Implements llvm::symbolize::DIPrinter.

Definition at line 289 of file DIPrinter.cpp.

References llvm::DIInliningInfo::addFrame(), and Info.

◆ print() [4/4]

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

◆ printError()

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

◆ printInvalidCommand()

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

Implements llvm::symbolize::DIPrinter.

Definition at line 367 of file DIPrinter.cpp.

References llvm::make_error_code(), and printError().


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