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(usize), UnitRef(UnitOffset), DebugInfoRef(DebugInfoOffset), DebugLineRef(DebugLineOffset), DebugLocRef(DebugLocOffset), DebugMacinfoRef(DebugMacinfoOffset), DebugRangesRef(DebugRangesOffset), DebugTypesRef(DebugTypeSignature), DebugStrRef(DebugStrOffset), String(&'input CStr), Encoding(DwAte), DecimalSign(DwDs), Endianity(DwEnd), Accessibility(DwAccess), Visibility(DwVis), Virtuality(DwVirtuality), Language(DwLang), AddressClass(DwAddr), IdentifierCase(DwId), CallingConvention(DwCc), Inline(DwInl), Ordering(DwOrd), FileIndex(u64), }
The value of an attribute in a DebuggingInformationEntry
.
Variants
Addr(u64)
"Refers to some location in the address space of the described program."
Block(EndianBuf<'input, Endian>)
A slice of an arbitrary number of bytes.
Data(EndianBuf<'input, Endian>)
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."
Sdata(i64)
A signed integer constant.
Udata(u64)
An unsigned integer constant.
Exprloc(EndianBuf<'input, Endian>)
"The information bytes contain a DWARF expression (see Section 2.5) or location description (see Section 2.6)."
Flag(bool)
A boolean typically used to describe the presence or absence of another attribute.
SecOffset(usize)
An offset into another section. Which section this is an offset into depends on context.
UnitRef(UnitOffset)
An offset into the current compilation unit.
DebugInfoRef(DebugInfoOffset)
An offset into the current .debug_info
section, but possibly a
different compilation unit from the current one.
DebugLineRef(DebugLineOffset)
An offset into the .debug_lines
section.
DebugLocRef(DebugLocOffset)
An offset into the .debug_loc
section.
DebugMacinfoRef(DebugMacinfoOffset)
An offset into the .debug_macinfo
section.
DebugRangesRef(DebugRangesOffset)
An offset into the .debug_ranges
section.
DebugTypesRef(DebugTypeSignature)
A type signature.
DebugStrRef(DebugStrOffset)
An offset into the .debug_str
section.
String(&'input CStr)
A null terminated C string, including the final null byte. Not guaranteed to be UTF-8 or anything like that.
Encoding(DwAte)
The value of a DW_AT_encoding
attribute.
DecimalSign(DwDs)
The value of a DW_AT_decimal_sign
attribute.
Endianity(DwEnd)
The value of a DW_AT_endianity
attribute.
Accessibility(DwAccess)
The value of a DW_AT_accessibility
attribute.
Visibility(DwVis)
The value of a DW_AT_visibility
attribute.
Virtuality(DwVirtuality)
The value of a DW_AT_virtuality
attribute.
Language(DwLang)
The value of a DW_AT_language
attribute.
AddressClass(DwAddr)
The value of a DW_AT_address_class
attribute.
IdentifierCase(DwId)
The value of a DW_AT_identifier_case
attribute.
CallingConvention(DwCc)
The value of a DW_AT_calling_convention
attribute.
Inline(DwInl)
The value of a DW_AT_inline
attribute.
Ordering(DwOrd)
The value of a DW_AT_ordering
attribute.
FileIndex(u64)
An index into the filename entries from the line number information table for the compilation unit containing this value.
Trait Implementations
impl<'input, Endian: Clone> Clone for AttributeValue<'input, Endian> where Endian: Endianity
[src]
fn clone(&self) -> AttributeValue<'input, Endian>
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, Endian: Copy> Copy for AttributeValue<'input, Endian> where Endian: Endianity
[src]
impl<'input, Endian: Debug> Debug for AttributeValue<'input, Endian> where Endian: Endianity
[src]
impl<'input, Endian: Eq> Eq for AttributeValue<'input, Endian> where Endian: Endianity
[src]
impl<'input, Endian: PartialEq> PartialEq for AttributeValue<'input, Endian> where Endian: Endianity
[src]
fn eq(&self, __arg_0: &AttributeValue<'input, Endian>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AttributeValue<'input, Endian>) -> bool
This method tests for !=
.