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

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


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 99 of file DWARFUnitIndex.h.

Constructor & Destructor Documentation

◆ DWARFUnitIndex()

llvm::DWARFUnitIndex::DWARFUnitIndex ( DWARFSectionKind  InfoColumnKind)

Definition at line 153 of file DWARFUnitIndex.h.

Member Function Documentation

◆ dump()

void DWARFUnitIndex::dump ( raw_ostream OS) const

Definition at line 215 of file DWARFUnitIndex.cpp.

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

◆ getColumnKinds()

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

Definition at line 166 of file DWARFUnitIndex.h.

References llvm::makeArrayRef().

◆ getFromHash()

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

Definition at line 285 of file DWARFUnitIndex.cpp.

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

◆ getFromOffset()

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

Definition at line 262 of file DWARFUnitIndex.cpp.

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

◆ getRows()

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

Definition at line 170 of file DWARFUnitIndex.h.

References llvm::makeArrayRef().

Referenced by addAllTypesFromDWP().

◆ getVersion()

uint32_t llvm::DWARFUnitIndex::getVersion ( ) const

Definition at line 161 of file DWARFUnitIndex.h.

◆ operator bool()

llvm::DWARFUnitIndex::operator bool ( ) const

Definition at line 156 of file DWARFUnitIndex.h.

◆ parse()

bool DWARFUnitIndex::parse ( DataExtractor  IndexData)

Definition at line 119 of file DWARFUnitIndex.cpp.

References b.

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