Trait breakpad_symbols::FrameSymbolizer
source · pub trait FrameSymbolizer {
// Required methods
fn get_instruction(&self) -> u64;
fn set_function(&mut self, name: &str, base: u64, parameter_size: u32);
fn set_source_file(&mut self, file: &str, line: u32, base: u64);
// Provided method
fn add_inline_frame(
&mut self,
_name: &str,
_file: Option<&str>,
_line: Option<u32>
) { ... }
}
Expand description
A trait for setting symbol information on something like a stack frame.
Required Methods§
sourcefn get_instruction(&self) -> u64
fn get_instruction(&self) -> u64
Get the program counter value for this frame.
sourcefn set_function(&mut self, name: &str, base: u64, parameter_size: u32)
fn set_function(&mut self, name: &str, base: u64, parameter_size: u32)
Set the name, base address, and parameter size of the function in which this frame is executing.
sourcefn set_source_file(&mut self, file: &str, line: u32, base: u64)
fn set_source_file(&mut self, file: &str, line: u32, base: u64)
Set the source file and (1-based) line number this frame represents.