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

pub fn discr_value_attribute<R: Reader<Offset = usize>>(
    die: &DebuggingInformationEntry<'_, '_, R>
) -> Option<u64>
Expand description

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

Description:

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

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