LLVM 22.0.0git
llvm::DWARFUnitIndex Class Reference

#include "llvm/DebugInfo/DWARF/DWARFUnitIndex.h"

Classes

class  Entry

Public Member Functions

 DWARFUnitIndex (DWARFSectionKind InfoColumnKind)
 operator bool () const
LLVM_ABI bool parse (DataExtractor IndexData)
LLVM_ABI void dump (raw_ostream &OS) const
uint32_t getVersion () const
LLVM_ABI const EntrygetFromOffset (uint64_t Offset) const
LLVM_ABI const EntrygetFromHash (uint64_t Offset) const
ArrayRef< DWARFSectionKindgetColumnKinds () const
ArrayRef< EntrygetRows () const
MutableArrayRef< EntrygetMutableRows ()

Detailed Description

Definition at line 102 of file DWARFUnitIndex.h.

Constructor & Destructor Documentation

◆ DWARFUnitIndex()

llvm::DWARFUnitIndex::DWARFUnitIndex ( DWARFSectionKind InfoColumnKind)
inline

Definition at line 172 of file DWARFUnitIndex.h.

Member Function Documentation

◆ dump()

void DWARFUnitIndex::dump ( raw_ostream & OS) const

◆ getColumnKinds()

ArrayRef< DWARFSectionKind > llvm::DWARFUnitIndex::getColumnKinds ( ) const
inline

Definition at line 185 of file DWARFUnitIndex.h.

References llvm::ArrayRef().

Referenced by addAllTypesFromDWP(), and llvm::write().

◆ getFromHash()

const DWARFUnitIndex::Entry * DWARFUnitIndex::getFromHash ( uint64_t Offset) const

Definition at line 306 of file DWARFUnitIndex.cpp.

References getSignature(), and H.

◆ getFromOffset()

const DWARFUnitIndex::Entry * DWARFUnitIndex::getFromOffset ( uint64_t Offset) const

Definition at line 283 of file DWARFUnitIndex.cpp.

References I, llvm::Offset, llvm::partition_point(), and llvm::sort().

◆ getMutableRows()

MutableArrayRef< Entry > llvm::DWARFUnitIndex::getMutableRows ( )
inline

Definition at line 193 of file DWARFUnitIndex.h.

References llvm::MutableArrayRef().

◆ getRows()

ArrayRef< Entry > llvm::DWARFUnitIndex::getRows ( ) const
inline

Definition at line 189 of file DWARFUnitIndex.h.

References llvm::ArrayRef().

Referenced by addAllTypesFromDWP(), and llvm::write().

◆ getVersion()

uint32_t llvm::DWARFUnitIndex::getVersion ( ) const
inline

Definition at line 180 of file DWARFUnitIndex.h.

Referenced by addAllTypesFromDWP(), and llvm::write().

◆ operator bool()

llvm::DWARFUnitIndex::operator bool ( ) const
inlineexplicit

Definition at line 175 of file DWARFUnitIndex.h.

◆ parse()

bool DWARFUnitIndex::parse ( DataExtractor IndexData)

Definition at line 119 of file DWARFUnitIndex.cpp.

Referenced by llvm::write().


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