Return the index of a DIE inside the unit's DIE vector.

Synopsis

Declared in <llvm/DebugInfo/DWARF/DWARFUnit.h>

uint32_t
getDIEIndex(DWARFDie const& D) const;

Description

It is illegal to call this method with a DIE that hasn't be created by this unit. In other word, it's illegal to call this method on a DIE that isn't accessible by following children/sibling links starting from this unit's getUnitDIE().

Return Value

Index of D within this unit's DIE vector.

Parameters

Name

Description

D

DIE owned by this unit.

Created with MrDocs