LLVM 19.0.0git
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
 
uint32_t getVersion () const
 
const EntrygetFromOffset (uint64_t Offset) const
 
const EntrygetFromHash (uint64_t Offset) const
 
ArrayRef< DWARFSectionKindgetColumnKinds () const
 
ArrayRef< EntrygetRows () const
 
MutableArrayRef< EntrygetMutableRows ()
 

Detailed Description

Definition at line 99 of file DWARFUnitIndex.h.

Constructor & Destructor Documentation

◆ DWARFUnitIndex()

llvm::DWARFUnitIndex::DWARFUnitIndex ( DWARFSectionKind  InfoColumnKind)
inline

Definition at line 168 of file DWARFUnitIndex.h.

Member Function Documentation

◆ dump()

void DWARFUnitIndex::dump ( raw_ostream OS) const

◆ getColumnKinds()

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

Definition at line 181 of file DWARFUnitIndex.h.

Referenced by addAllTypesFromDWP(), and llvm::write().

◆ getFromHash()

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

Definition at line 306 of file DWARFUnitIndex.cpp.

References getSignature(), and H.

◆ getFromOffset()

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

Definition at line 283 of file DWARFUnitIndex.cpp.

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

◆ getMutableRows()

MutableArrayRef< Entry > llvm::DWARFUnitIndex::getMutableRows ( )
inline

Definition at line 189 of file DWARFUnitIndex.h.

◆ getRows()

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

Definition at line 185 of file DWARFUnitIndex.h.

Referenced by addAllTypesFromDWP(), and llvm::write().

◆ getVersion()

uint32_t llvm::DWARFUnitIndex::getVersion ( ) const
inline

Definition at line 176 of file DWARFUnitIndex.h.

Referenced by addAllTypesFromDWP(), and llvm::write().

◆ operator bool()

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

Definition at line 171 of file DWARFUnitIndex.h.

◆ parse()

bool DWARFUnitIndex::parse ( DataExtractor  IndexData)

Definition at line 119 of file DWARFUnitIndex.cpp.

Referenced by llvm::write().


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