pub fn name_attribute<R: Reader<Offset = usize>>(
dwarf: &Dwarf<R>,
die: &DebuggingInformationEntry<'_, '_, R>,
) -> Result<Option<String>>
Expand description
This function will return the value of the name attribute in the given DIE.
Description:
dwarf
- A reference to gimli-rsDwarf
struct.die
- A reference to a gimli-rsDie
struct.
This function will try to retrieve the value of the attribute DW_AT_name
from the given DIE.