pub struct InlineNode {
pub ranges: Vec<AddressRange>,
pub name: Vec<u8>,
pub call_file: FileIndex,
pub call_line: u32,
pub children: Vec<Self>,
}Expand description
Recursive inline-call information for a function.
The root node covers the function itself, and each child covers the address ranges occupied by one inlined call inside its parent. A child’s ranges must be contained by its parent’s, and sibling ranges must not overlap.
call_file and call_line describe where the call appears in the parent,
not where the inlined body was defined. Address lookup reads them from the
callee to give each outer frame in a Lookup its source position.
Fields§
§ranges: Vec<AddressRange>Sorted, disjoint address ranges covered by this inline invocation.
name: Vec<u8>Function name as raw string-table bytes.
call_file: FileIndexFile containing the call site in the parent frame.
call_line: u32Source line containing the call site in the parent frame.
children: Vec<Self>Nested inline invocations.
Trait Implementations§
Source§impl Clone for InlineNode
impl Clone for InlineNode
Source§fn clone(&self) -> InlineNode
fn clone(&self) -> InlineNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InlineNode
impl Debug for InlineNode
Source§impl Default for InlineNode
impl Default for InlineNode
Source§fn default() -> InlineNode
fn default() -> InlineNode
Returns the “default value” for a type. Read more
impl Eq for InlineNode
Source§impl Ord for InlineNode
impl Ord for InlineNode
Source§fn cmp(&self, other: &InlineNode) -> Ordering
fn cmp(&self, other: &InlineNode) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for InlineNode
impl PartialEq for InlineNode
Source§impl PartialOrd for InlineNode
impl PartialOrd for InlineNode
impl StructuralPartialEq for InlineNode
Auto Trait Implementations§
impl Freeze for InlineNode
impl RefUnwindSafe for InlineNode
impl Send for InlineNode
impl Sync for InlineNode
impl Unpin for InlineNode
impl UnsafeUnpin for InlineNode
impl UnwindSafe for InlineNode
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