Struct gimli::DebugLocLists [−][src]
pub struct DebugLocLists<R: Reader> { /* fields omitted */ }
The DebugLocLists
struct represents the DWARF data
found in the .debug_loclists
section.
Methods
impl<'input, Endian> DebugLocLists<EndianSlice<'input, Endian>> where
Endian: Endianity,
[src]
impl<'input, Endian> DebugLocLists<EndianSlice<'input, Endian>> where
Endian: Endianity,
pub fn new(debug_loclists_section: &'input [u8], endian: Endian) -> Self
[src]
pub fn new(debug_loclists_section: &'input [u8], endian: Endian) -> Self
Construct a new DebugLocLists
instance from the data in the .debug_loclists
section.
It is the caller's responsibility to read the .debug_loclists
section and
present it as a &[u8]
slice. That means using some ELF loader on
Linux, a Mach-O loader on OSX, etc.
use gimli::{DebugLocLists, LittleEndian}; let debug_loclists = DebugLocLists::new(read_debug_loclists_section_somehow(), LittleEndian);
Trait Implementations
impl<R: Debug + Reader> Debug for DebugLocLists<R>
[src]
impl<R: Debug + Reader> Debug for DebugLocLists<R>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<R: Clone + Reader> Clone for DebugLocLists<R>
[src]
impl<R: Clone + Reader> Clone for DebugLocLists<R>
fn clone(&self) -> DebugLocLists<R>
[src]
fn clone(&self) -> DebugLocLists<R>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<R: Copy + Reader> Copy for DebugLocLists<R>
[src]
impl<R: Copy + Reader> Copy for DebugLocLists<R>
impl<R: Reader> Section<R> for DebugLocLists<R>
[src]
impl<R: Reader> Section<R> for DebugLocLists<R>
fn section_name() -> &'static str
[src]
fn section_name() -> &'static str
Returns the ELF section name for this type.
impl<R: Reader> From<R> for DebugLocLists<R>
[src]
impl<R: Reader> From<R> for DebugLocLists<R>
Auto Trait Implementations
impl<R> Send for DebugLocLists<R> where
R: Send,
impl<R> Send for DebugLocLists<R> where
R: Send,
impl<R> Sync for DebugLocLists<R> where
R: Sync,
impl<R> Sync for DebugLocLists<R> where
R: Sync,