LLVM  6.0.0svn
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
 
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)
inline

Definition at line 83 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
inline

Definition at line 94 of file DWARFUnitIndex.h.

References llvm::makeArrayRef().

◆ getFromHash()

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

Definition at line 177 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

◆ getRows()

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

Definition at line 98 of file DWARFUnitIndex.h.

References llvm::makeArrayRef().

◆ operator bool()

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

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: