LLVM  13.0.0git
Classes | Public Member Functions | List of all members
llvm::DWARFUnitIndex Class Reference

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

Classes

class  Entry
 

Public Member Functions

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

Detailed Description

Definition at line 80 of file DWARFUnitIndex.h.

Constructor & Destructor Documentation

◆ DWARFUnitIndex()

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

Definition at line 134 of file DWARFUnitIndex.h.

Member Function Documentation

◆ dump()

void DWARFUnitIndex::dump ( raw_ostream OS) const

Definition at line 214 of file DWARFUnitIndex.cpp.

References llvm::format(), i, and llvm::left_justify().

◆ getColumnKinds()

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

Definition at line 147 of file DWARFUnitIndex.h.

References llvm::makeArrayRef().

◆ getFromHash()

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

Definition at line 284 of file DWARFUnitIndex.cpp.

References getSignature(), H, Index, llvm::BitmaskEnumDetail::Mask(), and S.

◆ getFromOffset()

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

Definition at line 261 of file DWARFUnitIndex.cpp.

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

◆ getRows()

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

Definition at line 151 of file DWARFUnitIndex.h.

References llvm::makeArrayRef().

◆ getVersion()

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

Definition at line 142 of file DWARFUnitIndex.h.

◆ operator bool()

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

Definition at line 137 of file DWARFUnitIndex.h.

◆ parse()

bool DWARFUnitIndex::parse ( DataExtractor  IndexData)

Definition at line 118 of file DWARFUnitIndex.cpp.

References b.


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