Struct gimli::CompleteLineNumberProgram[][src]

pub struct CompleteLineNumberProgram<R: Reader> { /* fields omitted */ }

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

Methods

impl<R: Reader> CompleteLineNumberProgram<R>
[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, EndianSlice, NativeEndian};

fn get_line_number_program<'a>() -> IncompleteLineNumberProgram<EndianSlice<'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, R: Reader> LineNumberProgram<R> for &'program CompleteLineNumberProgram<R>
[src]

Get a reference to the held LineNumberProgramHeader.

Add a file to the file table if necessary.

impl<R: Clone + Reader> Clone for CompleteLineNumberProgram<R>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<R: Debug + Reader> Debug for CompleteLineNumberProgram<R>
[src]

Formats the value using the given formatter. Read more

impl<R: Eq + Reader> Eq for CompleteLineNumberProgram<R>
[src]

impl<R: PartialEq + Reader> PartialEq for CompleteLineNumberProgram<R>
[src]

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

This method tests for !=.

Auto Trait Implementations

impl<R> Send for CompleteLineNumberProgram<R> where
    R: Send,
    <R as Reader>::Offset: Send

impl<R> Sync for CompleteLineNumberProgram<R> where
    R: Sync,
    <R as Reader>::Offset: Sync