Function rust_debug::evaluate::attributes::name_attribute[][src]

pub fn name_attribute<R: Reader<Offset = usize>>(
    dwarf: &Dwarf<R>,
    die: &DebuggingInformationEntry<'_, '_, R>
) -> Option<String>
Expand description

This function will return the value of the name attribute in the given DIE.

Description:

  • dwarf - A reference to gimli-rs Dwarf struct.
  • die - A reference to a gimli-rs Die struct.

This function will try to retrieve the value of the attribute DW_AT_name from the given DIE.