pub enum RawLocListEntry<R: Reader> {
    AddressOrOffsetPair {
        begin: u64,
        end: u64,
        data: Expression<R>,
    },
    BaseAddress {
        addr: u64,
    },
    BaseAddressx {
        addr: DebugAddrIndex<R::Offset>,
    },
    StartxEndx {
        begin: DebugAddrIndex<R::Offset>,
        end: DebugAddrIndex<R::Offset>,
        data: Expression<R>,
    },
    StartxLength {
        begin: DebugAddrIndex<R::Offset>,
        length: u64,
        data: Expression<R>,
    },
    OffsetPair {
        begin: u64,
        end: u64,
        data: Expression<R>,
    },
    DefaultLocation {
        data: Expression<R>,
    },
    StartEnd {
        begin: u64,
        end: u64,
        data: Expression<R>,
    },
    StartLength {
        begin: u64,
        length: u64,
        data: Expression<R>,
    },
}
Expand description

A raw entry in .debug_loclists.

Variants

AddressOrOffsetPair

Fields

begin: u64

Start of range. May be an address or an offset.

end: u64

End of range. May be an address or an offset.

data: Expression<R>

expression

A location from DWARF version <= 4.

BaseAddress

Fields

addr: u64

base address

DW_LLE_base_address

BaseAddressx

Fields

addr: DebugAddrIndex<R::Offset>

base address

DW_LLE_base_addressx

StartxEndx

Fields

begin: DebugAddrIndex<R::Offset>

start of range

end: DebugAddrIndex<R::Offset>

end of range

data: Expression<R>

expression

DW_LLE_startx_endx

StartxLength

Fields

begin: DebugAddrIndex<R::Offset>

start of range

length: u64

length of range

data: Expression<R>

expression

DW_LLE_startx_length

OffsetPair

Fields

begin: u64

start of range

end: u64

end of range

data: Expression<R>

expression

DW_LLE_offset_pair

DefaultLocation

Fields

data: Expression<R>

expression

DW_LLE_default_location

StartEnd

Fields

begin: u64

start of range

end: u64

end of range

data: Expression<R>

expression

DW_LLE_start_end

StartLength

Fields

begin: u64

start of range

length: u64

length of range

data: Expression<R>

expression

DW_LLE_start_length

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.