LLVM  12.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 80 of file DWARFUnitIndex.h.

Constructor & Destructor Documentation

◆ DWARFUnitIndex()

llvm::DWARFUnitIndex::DWARFUnitIndex ( DWARFSectionKind  InfoColumnKind)

Definition at line 134 of file DWARFUnitIndex.h.

Member Function Documentation

◆ dump()

void DWARFUnitIndex::dump ( raw_ostream OS) const

◆ getColumnKinds()

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

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, and llvm::BitmaskEnumDetail::Mask().

Referenced by getVersion().

◆ getFromOffset()

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

◆ getRows()

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

Definition at line 151 of file DWARFUnitIndex.h.

References llvm::makeArrayRef().

◆ getVersion()

uint32_t llvm::DWARFUnitIndex::getVersion ( ) const

Definition at line 142 of file DWARFUnitIndex.h.

References getFromHash(), and getFromOffset().

◆ operator bool()

llvm::DWARFUnitIndex::operator bool ( ) const

Definition at line 137 of file DWARFUnitIndex.h.

References dump(), and parse().

◆ parse()

bool DWARFUnitIndex::parse ( DataExtractor  IndexData)

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