Enum gimli::Location [] [src]

pub enum Location<'input> {
    Empty,
    Register {
        register: u64,
    },
    Address {
        address: u64,
    },
    Scalar {
        value: u64,
    },
    Bytes {
        value: &'input [u8],
    },
    ImplicitPointer {
        value: DebugInfoOffset,
        byte_offset: i64,
    },
}

A single location of a piece of the result of a DWARF expression.

Variants

The piece is empty. Ordinarily this means the piece has been optimized away.

The piece is found in a register.

Fields of Register

The register number.

The piece is found in memory.

Fields of Address

The address.

The piece is a scalar value.

Fields of Scalar

The value.

The piece is represented by some constant bytes.

Fields of Bytes

The value.

The piece is a pointer to a value which has no actual location.

Fields of ImplicitPointer

The .debug_info offset of the value that this is an implicit pointer into.

The byte offset into the value that the implicit pointer points to.

Trait Implementations

impl<'input> Debug for Location<'input>
[src]

Formats the value using the given formatter.

impl<'input> Clone for Location<'input>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'input> Copy for Location<'input>
[src]

impl<'input> PartialEq for Location<'input>
[src]

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

This method tests for !=.

impl<'input> Eq for Location<'input>
[src]