pub struct FrameTable { /* private fields */ }
Expand description

A table of frame description entries.

Implementations

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.

The number of CIEs.

Add a FDE.

Does not check for duplicates.

Panics

Panics if the CIE id is invalid.

The number of FDEs.

Write the frame table entries to the given .debug_frame section.

Write the frame table entries to the given .eh_frame section.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.