Enum gimli::AttributeValue [] [src]

pub enum AttributeValue<'input, Endian> where Endian: Endianity {
    Addr(u64),
    Block(EndianBuf<'input, Endian>),
    Data(EndianBuf<'input, Endian>),
    Sdata(i64),
    Udata(u64),
    Exprloc(EndianBuf<'input, Endian>),
    Flag(bool),
    SecOffset(u64),
    UnitRef(UnitOffset),
    DebugInfoRef(DebugInfoOffset),
    DebugLineRef(DebugLineOffset),
    DebugTypesRef(DebugTypesOffset),
    DebugStrRef(DebugStrOffset),
    String(&'input CStr),
}

The value of an attribute in a DebuggingInformationEntry.

Variants

"Refers to some location in the address space of the described program."

A slice of an arbitrary number of bytes.

A one, two, four, or eight byte constant data value. How to interpret the bytes depends on context.

From section 7 of the standard: "Depending on context, it may be a signed integer, an unsigned integer, a floating-point constant, or anything else."

A signed integer constant.

An unsigned integer constant.

"The information bytes contain a DWARF expression (see Section 2.5) or location description (see Section 2.6)."

A boolean typically used to describe the presence or absence of another attribute.

An offset into another section. Which section this is an offset into depends on context.

An offset into the current compilation unit.

An offset into the current .debug_info section, but possibly a different compilation unit from the current one.

An offset into the .debug_lines section.

An offset into the .debug_types section.

An offset into the .debug_str section.

A null terminated C string, including the final null byte. Not guaranteed to be UTF-8 or anything like that.

Trait Implementations

impl<'input, Endian: PartialEq> PartialEq for AttributeValue<'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 AttributeValue<'input, Endian> where Endian: Endianity
[src]

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

Formats the value using the given formatter.

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more