Function is_variable_die

Source
pub fn is_variable_die<R: Reader<Offset = usize>>(
    die: &DebuggingInformationEntry<'_, '_, R>,
) -> bool
Expand description

Will check if the given DIE has one of the DWARF tags that represents a variable.

Description:

  • die - A reference to DIE.

Will check if the given type has one of the following tags:

  • DW_TAG_variable
  • DW_TAG_formal_parameter
  • DW_TAG_constant If the DIE has one of the tags the function will return true, otherwise false.