Struct gimli::TypeUnitHeader [] [src]

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

The header of a type unit's debugging information.

Methods

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

Return the serialized size of the type-unit header for the given DWARF format.

Get the offset of this compilation unit within the .debug_info section.

Get the length of the debugging info for this type-unit.

Get the length of the debugging info for this type-unit, including the byte length of the encoded length itself.

Get the DWARF version of the debugging info for this type-unit.

The offset into the .debug_abbrev section for this type-unit's debugging information entries.

The size of addresses (in bytes) in this type-unit.

Whether this type unit is encoded in 64- or 32-bit DWARF.

The serialized size of the header for this type-unit.

Get the unique type signature for this type unit.

Get the offset within this type unit where the type is defined.

Navigate this type unit's DebuggingInformationEntrys.

Navigate this type unit's DebuggingInformationEntrys as a tree.

Parse this type unit's abbreviations.

use gimli::DebugAbbrev;

let unit = get_some_type_unit();

let debug_abbrev = DebugAbbrev::<LittleEndian>::new(read_debug_abbrev_section_somehow());
let abbrevs_for_unit = unit.abbreviations(debug_abbrev).unwrap();

Trait Implementations

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

Formats the value using the given formatter.

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'input, Endian: Copy> Copy for TypeUnitHeader<'input, Endian> where Endian: Endianity
[src]

impl<'input, Endian: PartialEq> PartialEq for TypeUnitHeader<'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 !=.

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