struct ModuleInfoFrameInfo {
start: usize,
functions: BTreeMap<usize, FunctionInfo>,
module: Arc<ModuleInfo>,
frame_infos: Option<FrameInfosVariant>,
image_base: usize,
debug_info: DebugInfo,
trap_reader: Option<TrapReader>,
}Fields§
§start: usize§functions: BTreeMap<usize, FunctionInfo>§module: Arc<ModuleInfo>§frame_infos: Option<FrameInfosVariant>Per-instruction address maps, when available (non-ELF artifacts).
image_base: usizeThe base address the module’s code was loaded at. Used together with
debug_info to translate a pc back into an offset within the
original ELF image for DWARF lookups.
debug_info: DebugInfoLazily-loaded DWARF debug info, available for ELF-backed artifacts.
trap_reader: Option<TrapReader>Lazily-read trap tables, available for ELF-backed artifacts.
Implementations§
Source§impl ModuleInfoFrameInfo
impl ModuleInfoFrameInfo
fn function_debug_info( &self, local_index: LocalFunctionIndex, ) -> Option<CompiledFunctionFrameInfoVariant<'_>>
Sourcefn function_info(&self, pc: usize) -> Option<&FunctionInfo>
fn function_info(&self, pc: usize) -> Option<&FunctionInfo>
Gets a function given a pc
Auto Trait Implementations§
impl !Freeze for ModuleInfoFrameInfo
impl RefUnwindSafe for ModuleInfoFrameInfo
impl Send for ModuleInfoFrameInfo
impl Sync for ModuleInfoFrameInfo
impl Unpin for ModuleInfoFrameInfo
impl UnsafeUnpin for ModuleInfoFrameInfo
impl UnwindSafe for ModuleInfoFrameInfo
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.
§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2where
T: SharedNiching<N1, N2>,
N1: Niching<T>,
N2: Niching<T>,
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2where
T: SharedNiching<N1, N2>,
N1: Niching<T>,
N2: Niching<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> Pointee for T
impl<T> Pointee for T
Source§impl<T> Upcastable for T
impl<T> Upcastable for T
Source§fn upcast_any_ref(&self) -> &(dyn Any + 'static)
fn upcast_any_ref(&self) -> &(dyn Any + 'static)
upcast ref
Source§fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
upcast mut ref