Struct gimli::LocationLists[][src]

pub struct LocationLists<R: Reader> { /* fields omitted */ }

The DWARF data found in .debug_loc and .debug_loclists sections.

Methods

impl<R: Reader> LocationLists<R>
[src]

Construct a new LocationLists instance from the data in the .debug_loc and .debug_loclists sections.

Iterate over the LocationListEntrys starting at the given offset.

The unit_version and address_size must match the compilation unit that the offset was contained in.

The base_address should be obtained from the DW_AT_low_pc attribute in the DW_TAG_compile_unit entry for the compilation unit that contains this location list.

Can be used with FallibleIterator.

Iterate over the raw LocationListEntrys starting at the given offset.

The unit_version and address_size must match the compilation unit that the offset was contained in.

This iterator does not perform any processing of the location entries, such as handling base addresses.

Can be used with FallibleIterator.

Trait Implementations

impl<R: Debug + Reader> Debug for LocationLists<R>
[src]

Formats the value using the given formatter. Read more

impl<R: Clone + Reader> Clone for LocationLists<R>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<R: Copy + Reader> Copy for LocationLists<R>
[src]

Auto Trait Implementations

impl<R> Send for LocationLists<R> where
    R: Send

impl<R> Sync for LocationLists<R> where
    R: Sync