[][src]Struct profiler_get_symbols::addr2line::Addr2LineContext

pub struct Addr2LineContext<'a, 's> where
    's: 'a, 
{ /* fields omitted */ }

Implementations

impl<'a, 's> Addr2LineContext<'a, 's>[src]

pub fn new(
    address_map: &'a AddressMap<'s>,
    string_table: &'a StringTable<'s>,
    dbi: &'a DebugInformation<'s>,
    ipi: &'a ItemInformation<'s, IdIndex>,
    type_dumper: &'a TypeDumper<'a>
) -> Result<Self>
[src]

pub fn find_frames<'b, 't, S>(
    &self,
    pdb: &mut PDB<'t, S>,
    address: u32
) -> Result<Vec<Frame<'b>>> where
    S: Source<'t>,
    's: 't,
    S: 's,
    's: 'b,
    'a: 'b, 
[src]

pub fn find_frames_from_procedure<'b>(
    &self,
    address: u32,
    module_info: &ModuleInfo,
    symbol_index: SymbolIndex,
    proc: ProcedureSymbol,
    procedure_rva_range: Range<u32>,
    line_program: &LineProgram,
    inlinees: &BTreeMap<IdIndex, Inlinee>
) -> Result<Vec<Frame<'b>>> where
    's: 'b,
    'a: 'b, 
[src]

pub fn find_frames_for_addresses_from_procedure<'b>(
    &self,
    addresses: &[u32],
    module_info: &ModuleInfo,
    symbol_index: SymbolIndex,
    proc: ProcedureSymbol,
    procedure_rva_range: Range<u32>,
    line_program: &LineProgram,
    inlinees: &BTreeMap<IdIndex, Inlinee>
) -> Result<BTreeMap<u32, Vec<Frame<'b>>>> where
    's: 'b,
    'a: 'b, 
[src]

addresses must be sorted, low to high

Auto Trait Implementations

impl<'a, 's> !RefUnwindSafe for Addr2LineContext<'a, 's>

impl<'a, 's> !Send for Addr2LineContext<'a, 's>

impl<'a, 's> !Sync for Addr2LineContext<'a, 's>

impl<'a, 's> Unpin for Addr2LineContext<'a, 's> where
    's: 'a, 

impl<'a, 's> !UnwindSafe for Addr2LineContext<'a, 's>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.