LLVM 22.0.0git
methods to access OrigUnit.

Functions

DWARFUnitllvm::dwarf_linker::parallel::CompileUnit::getOrigUnit () const
 Returns paired compile unit from input DWARF.
const DWARFDebugInfoEntryllvm::dwarf_linker::parallel::CompileUnit::getFirstChildEntry (const DWARFDebugInfoEntry *Die) const
const DWARFDebugInfoEntryllvm::dwarf_linker::parallel::CompileUnit::getSiblingEntry (const DWARFDebugInfoEntry *Die) const
DWARFDie llvm::dwarf_linker::parallel::CompileUnit::getParent (const DWARFDebugInfoEntry *Die)
DWARFDie llvm::dwarf_linker::parallel::CompileUnit::getDIEAtIndex (unsigned Index)
const DWARFDebugInfoEntryllvm::dwarf_linker::parallel::CompileUnit::getDebugInfoEntry (unsigned Index) const
DWARFDie llvm::dwarf_linker::parallel::CompileUnit::getUnitDIE (bool ExtractUnitDIEOnly=true)
DWARFDie llvm::dwarf_linker::parallel::CompileUnit::getDIE (const DWARFDebugInfoEntry *Die)
uint32_t llvm::dwarf_linker::parallel::CompileUnit::getDIEIndex (const DWARFDebugInfoEntry *Die) const
uint32_t llvm::dwarf_linker::parallel::CompileUnit::getDIEIndex (const DWARFDie &Die) const
std::optional< DWARFFormValuellvm::dwarf_linker::parallel::CompileUnit::find (uint32_t DieIdx, ArrayRef< dwarf::Attribute > Attrs) const
std::optional< DWARFFormValuellvm::dwarf_linker::parallel::CompileUnit::find (const DWARFDebugInfoEntry *Die, ArrayRef< dwarf::Attribute > Attrs) const
std::optional< uint32_tllvm::dwarf_linker::parallel::CompileUnit::getDIEIndexForOffset (uint64_t Offset)

Detailed Description

Function Documentation

◆ find() [1/2]

std::optional< DWARFFormValue > llvm::dwarf_linker::parallel::CompileUnit::find ( const DWARFDebugInfoEntry * Die,
ArrayRef< dwarf::Attribute > Attrs ) const
inline

◆ find() [2/2]

◆ getDebugInfoEntry()

const DWARFDebugInfoEntry * llvm::dwarf_linker::parallel::CompileUnit::getDebugInfoEntry ( unsigned Index) const
inline

Definition at line 480 of file DWARFLinkerCompileUnit.h.

References assert().

Referenced by analyzeDWARFStructure(), assignTypeNames(), and resolveDIEReference().

◆ getDIE()

DWARFDie llvm::dwarf_linker::parallel::CompileUnit::getDIE ( const DWARFDebugInfoEntry * Die)
inline

Definition at line 490 of file DWARFLinkerCompileUnit.h.

References assert().

Referenced by analyzeImportedModule().

◆ getDIEAtIndex()

DWARFDie llvm::dwarf_linker::parallel::CompileUnit::getDIEAtIndex ( unsigned Index)
inline

Definition at line 475 of file DWARFLinkerCompileUnit.h.

References assert().

◆ getDIEIndex() [1/2]

uint32_t llvm::dwarf_linker::parallel::CompileUnit::getDIEIndex ( const DWARFDebugInfoEntry * Die) const
inline

Definition at line 495 of file DWARFLinkerCompileUnit.h.

References assert().

Referenced by cloneDIE().

◆ getDIEIndex() [2/2]

uint32_t llvm::dwarf_linker::parallel::CompileUnit::getDIEIndex ( const DWARFDie & Die) const
inline

Definition at line 500 of file DWARFLinkerCompileUnit.h.

References assert().

◆ getDIEIndexForOffset()

std::optional< uint32_t > llvm::dwarf_linker::parallel::CompileUnit::getDIEIndexForOffset ( uint64_t Offset)
inline

Definition at line 526 of file DWARFLinkerCompileUnit.h.

References llvm::Offset.

Referenced by resolveDIEReference().

◆ getFirstChildEntry()

◆ getOrigUnit()

◆ getParent()

DWARFDie llvm::dwarf_linker::parallel::CompileUnit::getParent ( const DWARFDebugInfoEntry * Die)
inline

Definition at line 470 of file DWARFLinkerCompileUnit.h.

References assert().

◆ getSiblingEntry()

◆ getUnitDIE()

DWARFDie llvm::dwarf_linker::parallel::CompileUnit::getUnitDIE ( bool ExtractUnitDIEOnly = true)
inline