[][src]Struct gimli::write::CommonInformationEntry

pub struct CommonInformationEntry {
    pub personality: Option<(DwEhPe, Address)>,
    pub lsda_encoding: Option<DwEhPe>,
    pub fde_address_encoding: DwEhPe,
    pub signal_trampoline: bool,
    // some fields omitted
}

A common information entry. This contains information that is shared between FDEs.

Fields

personality: Option<(DwEhPe, Address)>

The address of the personality function and its encoding.

lsda_encoding: Option<DwEhPe>

The encoding to use for the LSDA address in FDEs.

If set then all FDEs which use this CIE must have a LSDA address.

fde_address_encoding: DwEhPe

The encoding to use for addresses in FDEs.

signal_trampoline: bool

True for signal trampolines.

Implementations

impl CommonInformationEntry[src]

pub fn new(
    encoding: Encoding,
    code_alignment_factor: u8,
    data_alignment_factor: i8,
    return_address_register: Register
) -> Self
[src]

Create a new common information entry.

The encoding version must be a CFI version, not a DWARF version.

pub fn add_instruction(&mut self, instruction: CallFrameInstruction)[src]

Add an initial instruction.

Trait Implementations

impl Clone for CommonInformationEntry[src]

impl Debug for CommonInformationEntry[src]

impl Eq for CommonInformationEntry[src]

impl Hash for CommonInformationEntry[src]

impl PartialEq<CommonInformationEntry> for CommonInformationEntry[src]

impl StructuralEq for CommonInformationEntry[src]

impl StructuralPartialEq for CommonInformationEntry[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.