LLVM 22.0.0git
llvm::logicalview::LVRange Class Referencefinal

#include "llvm/DebugInfo/LogicalView/Core/LVRange.h"

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

Public Member Functions

 LVRange ()
 LVRange (const LVRange &)=delete
LVRangeoperator= (const LVRange &)=delete
 ~LVRange ()=default
void addEntry (LVScope *Scope, LVAddress LowerAddress, LVAddress UpperAddress)
void addEntry (LVScope *Scope)
LVScopegetEntry (LVAddress Address) const
LVScopegetEntry (LVAddress LowerAddress, LVAddress UpperAddress) const
bool hasEntry (LVAddress Low, LVAddress High) const
LVAddress getLower () const
LVAddress getUpper () const
const LVRangeEntriesgetEntries () const
void clear ()
bool empty () const
void sort ()
void startSearch ()
void endSearch ()
void print (raw_ostream &OS, bool Full=true) const override
void printExtra (raw_ostream &OS, bool Full=true) const override
Public Member Functions inherited from llvm::logicalview::LVObject
 LVObject ()
LVObjectoperator= (const LVObject &)=delete
virtual ~LVObject ()=default
 PROPERTY (Property, IsLocation)
 PROPERTY (Property, IsGlobalReference)
 PROPERTY (Property, IsGeneratedName)
 PROPERTY (Property, IsResolved)
 PROPERTY (Property, IsResolvedName)
 PROPERTY (Property, IsDiscarded)
 PROPERTY (Property, IsOptimized)
 PROPERTY (Property, IsAdded)
 PROPERTY (Property, IsMatched)
 PROPERTY (Property, IsMissing)
 PROPERTY (Property, IsMissingLink)
 PROPERTY (Property, IsInCompare)
 PROPERTY (Property, IsFileFromReference)
 PROPERTY (Property, IsLineFromReference)
 PROPERTY (Property, HasMoved)
 PROPERTY (Property, HasPattern)
 PROPERTY (Property, IsFinalized)
 PROPERTY (Property, IsReferenced)
 PROPERTY (Property, HasCodeViewLocation)
virtual bool isNamed () const
virtual bool isTyped () const
virtual bool isFiled () const
bool isLined () const
dwarf::Tag getTag () const
void setTag (dwarf::Tag Tag)
dwarf::Attribute getAttr () const
void setAttr (dwarf::Attribute Attr)
LVSmall getOpcode () const
void setOpcode (LVSmall Opcode)
LVOffset getOffset () const
void setOffset (LVOffset DieOffset)
LVLevel getLevel () const
void setLevel (LVLevel Level)
virtual StringRef getName () const
virtual void setName (StringRef ObjectName)
LVElementgetParent () const
LVScopegetParentScope () const
LVSymbolgetParentSymbol () const
void setParent (LVScope *Scope)
void setParent (LVSymbol *Symbol)
void resetParent ()
virtual LVAddress getLowerAddress () const
virtual void setLowerAddress (LVAddress Address)
virtual LVAddress getUpperAddress () const
virtual void setUpperAddress (LVAddress Address)
uint32_t getLineNumber () const
void setLineNumber (uint32_t Number)
virtual const charkind () const
std::string indentAsString () const
std::string indentAsString (LVLevel Level) const
virtual std::string noLineAsString (bool ShowZero) const
virtual std::string lineNumberAsString (bool ShowZero=false) const
std::string lineNumberAsStringStripped (bool ShowZero=false) const
virtual Error doPrint (bool Split, bool Match, bool Print, raw_ostream &OS, bool Full=true) const
void printAttributes (raw_ostream &OS, bool Full=true) const
void printAttributes (raw_ostream &OS, bool Full, StringRef Name, LVObject *Parent, StringRef Value, bool UseQuotes=false, bool PrintRef=false) const
void markBranchAsMissing ()
void dump () const
uint32_t getID () const

Additional Inherited Members

Protected Member Functions inherited from llvm::logicalview::LVObject
std::string lineAsString (uint32_t LineNumber, LVHalf Discriminator, bool ShowZero) const
std::string referenceAsString (uint32_t LineNumber, bool Spaces) const
virtual void printFileIndex (raw_ostream &OS, bool Full=true) const

Detailed Description

Definition at line 50 of file LVRange.h.

Constructor & Destructor Documentation

◆ LVRange() [1/2]

llvm::logicalview::LVRange::LVRange ( )
inline

Definition at line 62 of file LVRange.h.

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

◆ LVRange() [2/2]

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

References LVRange().

◆ ~LVRange()

llvm::logicalview::LVRange::~LVRange ( )
default

Member Function Documentation

◆ addEntry() [1/2]

void LVRange::addEntry ( LVScope * Scope)

◆ addEntry() [2/2]

◆ clear()

void llvm::logicalview::LVRange::clear ( )
inline

Definition at line 77 of file LVRange.h.

References llvm::logicalview::MaxAddress.

Referenced by llvm::logicalview::LVDWARFReader::createScopes().

◆ empty()

bool llvm::logicalview::LVRange::empty ( ) const
inline

Definition at line 82 of file LVRange.h.

◆ endSearch()

void llvm::logicalview::LVRange::endSearch ( )
inline

Definition at line 86 of file LVRange.h.

Referenced by llvm::logicalview::LVBinaryReader::processLines().

◆ getEntries()

const LVRangeEntries & llvm::logicalview::LVRange::getEntries ( ) const
inline

Definition at line 75 of file LVRange.h.

◆ getEntry() [1/2]

◆ getEntry() [2/2]

LVScope * LVRange::getEntry ( LVAddress LowerAddress,
LVAddress UpperAddress ) const

Definition at line 109 of file LVRange.cpp.

◆ getLower()

LVAddress llvm::logicalview::LVRange::getLower ( ) const
inline

Definition at line 72 of file LVRange.h.

◆ getUpper()

LVAddress llvm::logicalview::LVRange::getUpper ( ) const
inline

Definition at line 73 of file LVRange.h.

◆ hasEntry()

bool LVRange::hasEntry ( LVAddress Low,
LVAddress High ) const

Definition at line 118 of file LVRange.cpp.

Referenced by addEntry(), and ~LVRange().

◆ operator=()

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

References LVRange().

◆ print()

◆ printExtra()

void llvm::logicalview::LVRange::printExtra ( raw_ostream & OS,
bool Full = true ) const
inlineoverridevirtual

Reimplemented from llvm::logicalview::LVObject.

Definition at line 89 of file LVRange.h.

References llvm::Full.

Referenced by print().

◆ sort()

◆ startSearch()


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