[−][src]Struct profiler_get_symbols::addr2line::Addr2LineContext
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]
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>
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]
&self,
pdb: &mut PDB<'t, S>,
address: u32
) -> Result<Vec<Frame<'b>>> where
S: Source<'t>,
's: 't,
S: 's,
's: 'b,
'a: 'b,
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]
&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,
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]
&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,
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,
's: 'a,
impl<'a, 's> !UnwindSafe for Addr2LineContext<'a, 's>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,