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

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

This function will return the value of the const_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_cont_value from the given DIE.