Struct gimli::DebugAbbrev[][src]

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

The DebugAbbrev struct represents the abbreviations describing DebuggingInformationEntrys' attribute names and forms found in the .debug_abbrev section.

Methods

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

Construct a new DebugAbbrev instance from the data in the .debug_abbrev section.

It is the caller's responsibility to read the .debug_abbrev section and present it as a &[u8] slice. That means using some ELF loader on Linux, a Mach-O loader on OSX, etc.

use gimli::{DebugAbbrev, LittleEndian};

let debug_abbrev = DebugAbbrev::new(read_debug_abbrev_section_somehow(), LittleEndian);

impl<R: Reader> DebugAbbrev<R>
[src]

Parse the abbreviations at the given offset within this .debug_abbrev section.

The offset should generally be retrieved from a unit header.

Trait Implementations

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

Formats the value using the given formatter. Read more

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<R: Copy + Reader> Copy for DebugAbbrev<R>
[src]

impl<R: Reader> Section<R> for DebugAbbrev<R>
[src]

Returns the ELF section name for this type.

impl<R: Reader> From<R> for DebugAbbrev<R>
[src]

Performs the conversion.

Auto Trait Implementations

impl<R> Send for DebugAbbrev<R> where
    R: Send

impl<R> Sync for DebugAbbrev<R> where
    R: Sync