LLVM: methods to access OrigUnit. (original) (raw)

Functions
DWARFUnit & llvm::dwarf_linker::parallel::CompileUnit::getOrigUnit () const
Returns paired compile unit from input DWARF.
const DWARFDebugInfoEntry * llvm::dwarf_linker::parallel::CompileUnit::getFirstChildEntry (const DWARFDebugInfoEntry *Die) const
const DWARFDebugInfoEntry * llvm::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 DWARFDebugInfoEntry * llvm::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< DWARFFormValue > llvm::dwarf_linker::parallel::CompileUnit::find (uint32_t DieIdx, ArrayRef< dwarf::Attribute > Attrs) const
std::optional< DWARFFormValue > llvm::dwarf_linker::parallel::CompileUnit::find (const DWARFDebugInfoEntry *Die, ArrayRef< dwarf::Attribute > Attrs) const
std::optional< uint32_t > llvm::dwarf_linker::parallel::CompileUnit::getDIEIndexForOffset (uint64_t Offset)

find() [1/2]

find() [2/2]

Definition at line 505 of file DWARFLinkerCompileUnit.h.

References assert(), and find().

Referenced by llvm::dwarf_linker::parallel::SyntheticTypeNameBuilder::addArrayDimension(), llvm::dwarf_linker::parallel::SyntheticTypeNameBuilder::addDieNameFromDeclFileAndDeclLine(), llvm::dwarf_linker::parallel::SyntheticTypeNameBuilder::addReferencedODRDies(), llvm::dwarf_linker::parallel::SyntheticTypeNameBuilder::addTypeName(), llvm::dwarf_linker::parallel::SyntheticTypeNameBuilder::addValueName(), analyzeImportedModule(), cloneAndEmitLineTable(), find(), getTypeDeduplicationCandidate(), and resolveDIEReference().

getDebugInfoEntry()

getDIE()

getDIEAtIndex()

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

getDIEIndex() [1/2]

getDIEIndex() [2/2]

getDIEIndexForOffset()

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

getFirstChildEntry()

getOrigUnit()

DWARFUnit & llvm::dwarf_linker::parallel::CompileUnit::getOrigUnit ( ) const inline

Returns paired compile unit from input DWARF.

Definition at line 453 of file DWARFLinkerCompileUnit.h.

References assert().

Referenced by cleanupDataAfterClonning(), cloneAndEmit(), cloneAndEmitDebugLocations(), cloneAndEmitDebugMacro(), cloneAndEmitLineTable(), cloneAndEmitRanges(), cloneDieAttrExpression(), getDIEInfo(), getDIEInfo(), getDIEInfo(), getDIEInfo(), getDieOutOffset(), getDieTypeEntry(), getDirAndFilenameFromLineTable(), getFileName(), loadInputDIEs(), loadLineTable(), setDieTypeEntry(), and warn().

getParent()

getSiblingEntry()

getUnitDIE()

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