LLVM 23.0.0git
llvm::logicalview::LVIRReader Class Referencefinal

#include "llvm/DebugInfo/LogicalView/Readers/LVIRReader.h"

Inheritance diagram for llvm::logicalview::LVIRReader:
[legend]

Public Member Functions

 LVIRReader ()=delete
 LVIRReader (StringRef Filename, StringRef FileFormatName, object::IRObjectFile *Obj, ScopedPrinter &W)
 LVIRReader (StringRef Filename, StringRef FileFormatName, MemoryBufferRef *Obj, ScopedPrinter &W)
 LVIRReader (const LVIRReader &)=delete
LVIRReaderoperator= (const LVIRReader &)=delete
 ~LVIRReader ()=default
const LVSymbolsGetSymbolsWithLocations () const
std::string getRegisterName (LVSmall Opcode, ArrayRef< uint64_t > Operands) override
void print (raw_ostream &OS) const
void printAllInstructions (BasicBlock *BB)
void dump () const
Public Member Functions inherited from llvm::logicalview::LVReader
 LVReader ()=delete
 LVReader (StringRef InputFilename, StringRef FileFormatName, ScopedPrinter &W, LVBinaryType BinaryType=LVBinaryType::NONE)
 LVReader (const LVReader &)=delete
LVReaderoperator= (const LVReader &)=delete
virtual ~LVReader ()=default
LVOperationcreateOperation (LVSmall OpCode, ArrayRef< LVUnsigned > Operands)
StringRef getFilename (LVObject *Object, size_t Index) const
StringRef getFilename () const
void setFilename (std::string Name)
StringRef getFileFormatName () const
raw_ostreamoutputStream ()
bool isBinaryTypeNone () const
bool isBinaryTypeELF () const
bool isBinaryTypeCOFF () const
LVScopeCompileUnitgetCompileUnit () const
void setCompileUnit (LVScope *Scope)
void setCompileUnitCPUType (codeview::CPUType Type)
codeview::CPUType getCompileUnitCPUType ()
LVScopeRootgetScopesRoot () const
Error doPrint ()
Error doLoad ()
LVSectionIndex getDotTextSectionIndex () const
virtual LVSectionIndex getSectionIndex (LVScope *Scope)
virtual bool isSystemEntry (LVElement *Element, StringRef Name={}) const
LVSplitContextgetSplitContext ()
void notifyAddedElement (LVLine *Line)
void notifyAddedElement (LVScope *Scope)
void notifyAddedElement (LVSymbol *Symbol)
void notifyAddedElement (LVType *Type)
const LVLinesgetLines () const
const LVScopesgetScopes () const
const LVSymbolsgetSymbols () const
const LVTypesgetTypes () const
bool doPrintLine (const LVLine *Line) const
bool doPrintLocation (const LVLocation *Location) const
bool doPrintScope (const LVScope *Scope) const
bool doPrintSymbol (const LVSymbol *Symbol) const
bool doPrintType (const LVType *Type) const
void print (raw_ostream &OS) const
virtual void printRecords (raw_ostream &OS) const
void dump () const

Protected Member Functions

Error createScopes () override
void sortScopes () override
Protected Member Functions inherited from llvm::logicalview::LVReader
void addSectionRange (LVSectionIndex SectionIndex, LVScope *Scope)
void addSectionRange (LVSectionIndex SectionIndex, LVScope *Scope, LVAddress LowerAddress, LVAddress UpperAddress)
LVRangegetSectionRanges (LVSectionIndex SectionIndex)
void addCompileUnitOffset (LVOffset Offset, LVScopeCompileUnit *CompileUnit)
LVElementcreateElement (dwarf::Tag Tag)
std::string createAlternativePath (StringRef From)
virtual Error printScopes ()
virtual Error printMatchedElements (bool UseMatchedElements)
void printCollectedElements (LVScope *Root)
bool checkIntegrityScopesTree (LVScope *Root)

Additional Inherited Members

Static Public Member Functions inherited from llvm::logicalview::LVReader
static LVReadergetInstance ()
static void setInstance (LVReader *Reader)
Protected Attributes inherited from llvm::logicalview::LVReader
LVElementCurrentElement = nullptr
LVScopeCurrentScope = nullptr
LVSymbolCurrentSymbol = nullptr
LVTypeCurrentType = nullptr
LVLineCurrentLine = nullptr
LVOffset CurrentOffset = 0
std::vector< LVAddressRangeCurrentRanges
LVScopeRootRoot = nullptr
std::string InputFilename
std::string FileFormatName
ScopedPrinterW
raw_ostreamOS
LVScopeCompileUnitCompileUnit = nullptr
LVSectionIndex DotTextSectionIndex = UndefinedSectionIndex

Detailed Description

Definition at line 45 of file LVIRReader.h.

Constructor & Destructor Documentation

◆ LVIRReader() [1/4]

llvm::logicalview::LVIRReader::LVIRReader ( )
delete

Referenced by LVIRReader(), and operator=().

◆ LVIRReader() [2/4]

◆ LVIRReader() [3/4]

llvm::logicalview::LVIRReader::LVIRReader ( StringRef Filename,
StringRef FileFormatName,
MemoryBufferRef * Obj,
ScopedPrinter & W )
inline

◆ LVIRReader() [4/4]

llvm::logicalview::LVIRReader::LVIRReader ( const LVIRReader & )
delete

References LVIRReader().

◆ ~LVIRReader()

llvm::logicalview::LVIRReader::~LVIRReader ( )
default

Member Function Documentation

◆ createScopes()

◆ dump()

void llvm::logicalview::LVIRReader::dump ( ) const
inline

Definition at line 297 of file LVIRReader.h.

References llvm::dbgs(), and print().

◆ getRegisterName()

std::string LVIRReader::getRegisterName ( LVSmall Opcode,
ArrayRef< uint64_t > Operands )
overridevirtual

Reimplemented from llvm::logicalview::LVReader.

Definition at line 400 of file LVIRReader.cpp.

References llvm_unreachable.

◆ GetSymbolsWithLocations()

const LVSymbols & llvm::logicalview::LVIRReader::GetSymbolsWithLocations ( ) const
inline

Definition at line 282 of file LVIRReader.h.

◆ operator=()

LVIRReader & llvm::logicalview::LVIRReader::operator= ( const LVIRReader & )
delete

References LVIRReader().

◆ print()

void LVIRReader::print ( raw_ostream & OS) const

Definition at line 2627 of file LVIRReader.cpp.

References llvm::dbgs(), LLVM_DEBUG, and llvm::logicalview::LVReader::OS.

◆ printAllInstructions()

void llvm::logicalview::LVIRReader::printAllInstructions ( BasicBlock * BB)
inline

Definition at line 293 of file LVIRReader.h.

◆ sortScopes()

void LVIRReader::sortScopes ( )
overrideprotectedvirtual

Reimplemented from llvm::logicalview::LVReader.

Definition at line 2625 of file LVIRReader.cpp.

References llvm::logicalview::LVReader::Root.


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