[−]Trait symbolic::debuginfo::dwarf::gimli::read::LineProgram
A LineProgram
provides access to a LineProgramHeader
and
a way to add files to the files table if necessary. Gimli consumers should
never need to use or see this trait.
Required methods
pub fn header(&self) -> &LineProgramHeader<R, Offset>
Get a reference to the held LineProgramHeader
.
pub fn add_file(&mut self, file: FileEntry<R, Offset>)
Add a file to the file table if necessary.
Implementors
impl<'program, R, Offset> LineProgram<R, Offset> for &'program CompleteLineProgram<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
pub fn header(&self) -> &LineProgramHeader<R, Offset>
pub fn add_file(&mut self, FileEntry<R, Offset>)
impl<R, Offset> LineProgram<R, Offset> for IncompleteLineProgram<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
R: Reader<Offset = Offset>,
Offset: ReaderOffset,