Struct gimli::CompleteLineNumberProgram [] [src]

pub struct CompleteLineNumberProgram<'input, Endian> where Endian: Endianity { /* fields omitted */ }

A line number program that has previously been run to completion.

Methods

impl<'input, Endian> CompleteLineNumberProgram<'input, Endian> where Endian: Endianity
[src]

Retrieve the LineNumberProgramHeader for this program.

Construct a new StateMachine for executing the subset of the line number program identified by 'sequence' and generating the line information matrix.

use gimli::{IncompleteLineNumberProgram, NativeEndian};

fn get_line_number_program<'a>() -> IncompleteLineNumberProgram<'a, NativeEndian> {
    // Get a line number program from some offset in a
    // `.debug_line` section...
}

let program = get_line_number_program();
let (program, sequences) = program.sequences().unwrap();
for sequence in &sequences {
    let mut sm = program.resume_from(sequence);
}

Trait Implementations

impl<'program, 'input, Endian> LineNumberProgram<'input, Endian> for &'program CompleteLineNumberProgram<'input, Endian> where Endian: Endianity
[src]

Get a reference to the held LineNumberProgramHeader.

Add a file to the file table if necessary.

impl<'input, Endian: Clone> Clone for CompleteLineNumberProgram<'input, Endian> where Endian: Endianity
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'input, Endian: Debug> Debug for CompleteLineNumberProgram<'input, Endian> where Endian: Endianity
[src]

Formats the value using the given formatter.

impl<'input, Endian: Eq> Eq for CompleteLineNumberProgram<'input, Endian> where Endian: Endianity
[src]

impl<'input, Endian: PartialEq> PartialEq for CompleteLineNumberProgram<'input, Endian> where Endian: Endianity
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.