Function alignment_attribute

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

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