pub fn type_attribute<R: Reader<Offset = usize>>(
dwarf: &Dwarf<R>,
unit: &Unit<R>,
die: &DebuggingInformationEntry<'_, '_, R>,
) -> Result<Option<(UnitSectionOffset, UnitOffset)>>Expand description
This function will return the value of the type attribute in the given DIE.
Description:
dwarf- A reference to gimli-rsDwarfstruct.unit- A reference to gimli-rsUnitstruct which contains the given DIE.die- A reference to a gimli-rsDiestruct.
This function will try to retrieve the value of the attribute DW_AT_type from the given DIE.