LLVM  10.0.0svn
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
const EntrygetFromOffset (uint32_t Offset) const
const EntrygetFromHash (uint64_t Offset) const
ArrayRef< DWARFSectionKindgetColumnKinds () const
ArrayRef< EntrygetRows () const

Detailed Description

Definition at line 33 of file DWARFUnitIndex.h.

Constructor & Destructor Documentation

◆ DWARFUnitIndex()

llvm::DWARFUnitIndex::DWARFUnitIndex ( DWARFSectionKind  InfoColumnKind)

Definition at line 83 of file DWARFUnitIndex.h.

Member Function Documentation

◆ dump()

void DWARFUnitIndex::dump ( raw_ostream OS) const

Definition at line 124 of file DWARFUnitIndex.cpp.

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

Referenced by llvm::DWARFContext::dump(), and operator bool().

◆ getColumnKinds()

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

Definition at line 94 of file DWARFUnitIndex.h.

References llvm::makeArrayRef().

◆ getFromHash()

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

Definition at line 188 of file DWARFUnitIndex.cpp.

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

Referenced by operator bool().

◆ getFromOffset()

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

Definition at line 165 of file DWARFUnitIndex.cpp.

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

Referenced by operator bool().

◆ getRows()

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

Definition at line 98 of file DWARFUnitIndex.h.

References llvm::makeArrayRef().

◆ operator bool()

llvm::DWARFUnitIndex::operator bool ( ) const

Definition at line 86 of file DWARFUnitIndex.h.

References dump(), getFromHash(), getFromOffset(), and parse().

◆ parse()

bool DWARFUnitIndex::parse ( DataExtractor  IndexData)

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