LLVM 20.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]

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 print (const Request &Request, const std::vector< DILineInfo > &Locations) override
 
bool printError (const Request &Request, const ErrorInfoBase &ErrorInfo) override
 
void listBegin () override
 
void listEnd () override
 
- Public Member Functions inherited from llvm::symbolize::DIPrinter
 DIPrinter ()=default
 
virtual ~DIPrinter ()=default
 
virtual void print (const Request &Request, const DILineInfo &Info)=0
 
virtual void print (const Request &Request, const DIInliningInfo &Info)=0
 
virtual void print (const Request &Request, const DIGlobal &Global)=0
 
virtual void print (const Request &Request, const std::vector< DILocal > &Locals)=0
 
virtual void print (const Request &Request, const std::vector< DILineInfo > &Locations)=0
 
virtual bool printError (const Request &Request, const ErrorInfoBase &ErrorInfo)=0
 
virtual void listBegin ()=0
 
virtual void listEnd ()=0
 

Detailed Description

Definition at line 128 of file DIPrinter.h.

Constructor & Destructor Documentation

◆ JSONPrinter()

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

Definition at line 141 of file DIPrinter.h.

References Config, and OS.

Member Function Documentation

◆ listBegin()

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

Implements llvm::symbolize::DIPrinter.

Definition at line 411 of file DIPrinter.cpp.

References assert().

◆ listEnd()

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

Implements llvm::symbolize::DIPrinter.

Definition at line 416 of file DIPrinter.cpp.

References assert().

◆ print() [1/5]

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

◆ print() [2/5]

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

◆ print() [3/5]

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

Implements llvm::symbolize::DIPrinter.

Definition at line 324 of file DIPrinter.cpp.

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

Referenced by print().

◆ print() [4/5]

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

◆ print() [5/5]

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 
)
overridevirtual

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