Struct breakpad_symbols::SimpleFrame
[−]
[src]
pub struct SimpleFrame { pub instruction: u64, pub function: Option<String>, pub function_base: Option<u64>, pub source_file: Option<String>, pub source_line: Option<u32>, pub source_line_base: Option<u64>, }
A simple implementation of FrameSymbolizer
that just holds data.
Fields
instruction: u64
The program counter value for this frame.
function: Option<String>
The name of the function in which the current instruction is executing.
function_base: Option<u64>
The offset of the start of function
from the module base.
source_file: Option<String>
The name of the source file in which the current instruction is executing.
source_line: Option<u32>
The 1-based index of the line number in source_file
in which the current instruction is executing.
source_line_base: Option<u64>
The offset of the start of source_line
from the function base.
Methods
impl SimpleFrame
[src]
fn with_instruction(instruction: u64) -> SimpleFrame
[src]
Instantiate a SimpleFrame
with instruction pointer instruction
.
Trait Implementations
impl Default for SimpleFrame
[src]
fn default() -> SimpleFrame
[src]
Returns the "default value" for a type. Read more
impl FrameSymbolizer for SimpleFrame
[src]
fn get_instruction(&self) -> u64
[src]
Get the program counter value for this frame.
fn set_function(&mut self, name: &str, base: u64)
[src]
Set the name and base address of the function in which this frame is executing.
fn set_source_file(&mut self, file: &str, line: u32, base: u64)
[src]
Set the source file and (1-based) line number this frame represents.