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
EmptyThe piece is empty. Ordinarily this means the piece has been optimized away.
RegisterThe piece is found in a register.
Fields
register: u64 | The register number. |
AddressThe piece is found in memory.
Fields
address: u64 | The address. |
ScalarThe piece is a scalar value.
Fields
value: u64 | The value. |
BytesThe piece is represented by some constant bytes.
Fields
value: &'input [u8] | The value. |
ImplicitPointerThe piece is a pointer to a value which has no actual location.
Fields
value: DebugInfoOffset | The |
byte_offset: i64 | The byte offset into the value that the implicit pointer points to. |
Trait Implementations
impl<'input> Debug for Location<'input>[src]
impl<'input> Clone for Location<'input>[src]
fn clone(&self) -> Location<'input>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl<'input> Copy for Location<'input>[src]
impl<'input> PartialEq for Location<'input>[src]
fn eq(&self, __arg_0: &Location<'input>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Location<'input>) -> bool
This method tests for !=.