Enum gimli::read::RawLocListEntry
source · [−]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
DW_LLE_offset_pair
DefaultLocation
Fields
data: Expression<R>
expression
DW_LLE_default_location
StartEnd
DW_LLE_start_end
StartLength
DW_LLE_start_length
Trait Implementations
sourceimpl<R: Clone + Reader> Clone for RawLocListEntry<R> where
R::Offset: Clone,
R::Offset: Clone,
R::Offset: Clone,
R::Offset: Clone,
impl<R: Clone + Reader> Clone for RawLocListEntry<R> where
R::Offset: Clone,
R::Offset: Clone,
R::Offset: Clone,
R::Offset: Clone,
sourcefn clone(&self) -> RawLocListEntry<R>
fn clone(&self) -> RawLocListEntry<R>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl<R> RefUnwindSafe for RawLocListEntry<R> where
R: RefUnwindSafe,
<R as Reader>::Offset: RefUnwindSafe,
impl<R> Send for RawLocListEntry<R> where
R: Send,
<R as Reader>::Offset: Send,
impl<R> Sync for RawLocListEntry<R> where
R: Sync,
<R as Reader>::Offset: Sync,
impl<R> Unpin for RawLocListEntry<R> where
R: Unpin,
<R as Reader>::Offset: Unpin,
impl<R> UnwindSafe for RawLocListEntry<R> where
R: UnwindSafe,
<R as Reader>::Offset: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more