Struct gimli::write::FrameTable [−][src]
pub struct FrameTable { /* fields omitted */ }
Expand description
A table of frame description entries.
Implementations
pub fn from<R, Section>(
frame: &Section,
convert_address: &dyn Fn(u64) -> Option<Address>
) -> ConvertResult<FrameTable> where
R: Reader<Offset = usize>,
Section: UnwindSection<R>,
Section::Offset: UnwindOffset<usize>,
pub fn from<R, Section>(
frame: &Section,
convert_address: &dyn Fn(u64) -> Option<Address>
) -> ConvertResult<FrameTable> where
R: Reader<Offset = usize>,
Section: UnwindSection<R>,
Section::Offset: UnwindOffset<usize>,
Create a frame table by reading the data in the given section.
convert_address
is a function to convert read addresses into the Address
type. For non-relocatable addresses, this function may simply return
Address::Constant(address)
. For relocatable addresses, it is the caller’s
responsibility to determine the symbol and addend corresponding to the address
and return Address::Symbol { symbol, addend }
.
Add a CIE and return its id.
If the CIE already exists, then return the id of the existing CIE.
Write the frame table entries to the given .debug_frame
section.
Trait Implementations
Returns the “default value” for a type. Read more