fn parse_inlined_lexical_block<'input, 'abbrev, 'unit, 'tree, Endian>(
    node: gimli::EntriesTreeNode<'abbrev, 'unit, 'tree, Reader<'input, Endian>>,
) -> Result<()>
where
    Endian: gimli::Endianity,
{
    let mut attrs = node.entry().attrs();
    while let Some(attr) = attrs.next()? {
        match attr.name() {
            gimli::DW_AT_low_pc
            | gimli::DW_AT_high_pc
            | gimli::DW_AT_ranges
            | gimli::DW_AT_abstract_origin
            | gimli::DW_AT_sibling => {}
            _ => debug!(
                "unknown inlined lexical_block attribute: {} {:?}",
                attr.name(),
                attr.value()
            ),
        }
    }

    let mut iter = node.children();
    while let Some(child) = iter.next()? {
        match child.entry().tag() {
            gimli::DW_TAG_inlined_subroutine => {
                parse_inlined_subroutine(child)?;
            }
            gimli::DW_TAG_lexical_block => {
                parse_inlined_lexical_block(child)?;
            }
            gimli::DW_TAG_formal_parameter
            | gimli::DW_TAG_variable
            | gimli::DW_TAG_label
            | gimli::DW_TAG_GNU_call_site
            | gimli::DW_TAG_imported_module => {}
            tag => {
                debug!("unknown inlined lexical_block child tag: {}", tag);
            }
        }
    }
    Ok(())
}
// Only checks for unknown attributes and tags.
Only checks for unknown attributes and tags.
Only checks for unknown attributes and tags .
fn parse_inlined_lexical_block<'input, 'abbrev, 'unit, 'tree, Endian>(
    node: gimli::EntriesTreeNode<'abbrev, 'unit, 'tree, Reader<'input, Endian>>,
) -> Result<()>
where
    Endian: gimli::Endianity,
{
    let mut attrs = node.entry().attrs();
    while let Some(attr) = attrs.next()? {
        match attr.name() {
            gimli::DW_AT_low_pc
            | gimli::DW_AT_high_pc
            | gimli::DW_AT_ranges
            | gimli::DW_AT_abstract_origin
            | gimli::DW_AT_sibling => {}
            _ => debug!(
                "unknown inlined lexical_block attribute: {} {:?}",
                attr.name(),
                attr.value()
            ),
        }
    }
    let mut iter = node.children();
    while let Some(child) = iter.next()? {
        match child.entry().tag() {
            gimli::DW_TAG_inlined_subroutine => {
                parse_inlined_subroutine(child)?;
            }
            gimli::DW_TAG_lexical_block => {
                parse_inlined_lexical_block(child)?;
            }
            gimli::DW_TAG_formal_parameter
            | gimli::DW_TAG_variable
            | gimli::DW_TAG_label
            | gimli::DW_TAG_GNU_call_site
            | gimli::DW_TAG_imported_module => {}
            tag => {
                debug!("unknown inlined lexical_block child tag: {}", tag);
            }
        }
    }
    Ok(())
}
fn parse_inlined_lexical_block < ' input , ' abbrev , ' unit , ' tree , Endian > ( node : gimli :: EntriesTreeNode < ' abbrev , ' unit , ' tree , Reader < ' input , Endian > > , ) -> Result < ( ) > where Endian : gimli :: Endianity , { let mut attrs = node . entry ( ) . attrs ( ) ; while let Some ( attr ) = attrs . next ( ) ? { match attr . name ( ) { gimli :: DW_AT_low_pc | gimli :: DW_AT_high_pc | gimli :: DW_AT_ranges | gimli :: DW_AT_abstract_origin | gimli :: DW_AT_sibling => { } _ => debug ! ( " " attr name ( ) attr value ( ) ) , } } let mut iter = node . children ( ) ; while let Some ( child ) = iter . next ( ) ? { match child . entry ( ) . tag ( ) { gimli :: DW_TAG_inlined_subroutine => { parse_inlined_subroutine ( child ) ? ; } gimli :: DW_TAG_lexical_block => { parse_inlined_lexical_block ( child ) ? ; } gimli :: DW_TAG_formal_parameter | gimli :: DW_TAG_variable | gimli :: DW_TAG_label | gimli :: DW_TAG_GNU_call_site | gimli :: DW_TAG_imported_module => { } tag => { debug ! ( " " tag ) ; } } } Ok ( ( ) ) }
Only checks for unknown attributes and tags.
Only checks for unknown attributes and tags .
node
gimli::EntriesTreeNode<'abbrev, 'unit, 'tree, Reader<'input, Endian>>
node
gimli::EntriesTreeNode<'abbrev, 'unit, 'tree, Reader<'input, Endian>>