LLVM  8.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 34 of file DWARFUnitIndex.h.

Constructor & Destructor Documentation

◆ DWARFUnitIndex()

llvm::DWARFUnitIndex::DWARFUnitIndex ( DWARFSectionKind  InfoColumnKind)

Definition at line 84 of file DWARFUnitIndex.h.

Member Function Documentation

◆ dump()

void DWARFUnitIndex::dump ( raw_ostream OS) const

Definition at line 125 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 95 of file DWARFUnitIndex.h.

References llvm::makeArrayRef().

◆ getFromHash()

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

Definition at line 190 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 166 of file DWARFUnitIndex.cpp.

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

Referenced by llvm::DWARFUnitHeader::extract(), and operator bool().

◆ getRows()

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

Definition at line 99 of file DWARFUnitIndex.h.

References llvm::makeArrayRef().

◆ operator bool()

llvm::DWARFUnitIndex::operator bool ( ) const

Definition at line 87 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: