pub(crate) struct Function<R: Reader> {
pub(crate) dw_die_offset: UnitOffset<R::Offset>,
pub(crate) name: Option<R>,
inlined_functions: Box<[InlinedFunction<R>]>,
inlined_addresses: Box<[InlinedFunctionAddress]>,
}
Fields§
§dw_die_offset: UnitOffset<R::Offset>
§name: Option<R>
§inlined_functions: Box<[InlinedFunction<R>]>
List of all DW_TAG_inlined_subroutine
details in this function.
inlined_addresses: Box<[InlinedFunctionAddress]>
List of DW_TAG_inlined_subroutine
address ranges in this function.
Implementations§
source§impl<R: Reader> Function<R>
impl<R: Reader> Function<R>
fn parse( dw_die_offset: UnitOffset<R::Offset>, file: DebugFile, unit: UnitRef<'_, R>, ctx: &Context<R>, ) -> Result<Self, Error>
fn parse_children( state: &mut InlinedState<'_, R>, depth: isize, inlined_depth: usize, ) -> Result<(), Error>
fn skip( entries: &mut EntriesRaw<'_, '_, R>, abbrev: &Abbreviation, depth: isize, ) -> Result<(), Error>
sourcepub(crate) fn find_inlined_functions(
&self,
probe: u64,
) -> Vec<&InlinedFunction<R>>
pub(crate) fn find_inlined_functions( &self, probe: u64, ) -> Vec<&InlinedFunction<R>>
Build the list of inlined functions that contain probe
.
Auto Trait Implementations§
impl<R> Freeze for Function<R>
impl<R> RefUnwindSafe for Function<R>
impl<R> Send for Function<R>
impl<R> Sync for Function<R>
impl<R> Unpin for Function<R>
impl<R> UnwindSafe for Function<R>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more