pub fn get_functions_variables_die_offset<R: Reader<Offset = usize>>(
dwarf: &Dwarf<R>,
section_offset: UnitSectionOffset,
unit_offset: UnitOffset,
pc: u32,
) -> Result<Vec<UnitOffset>>
Expand description
Will find all the in range variable DIEs in a subroutine.
Description:
dwarf
- A reference to gimli-rsDwarf
struct.section_offset
- A offset into the DWARF.debug_info
section which is used to find the relevant compilation.unit_offset
- A offset into the given compilation unit, which points the subroutine DIE.pc
- A machine code address, it is usually the current code address.
This function will go done the subtree of a subroutine DIE and return all in range variable DIEs.