[][src]Enum gimli::write::CallFrameInstruction

pub enum CallFrameInstruction {
    Cfa(Registeri32),
    CfaRegister(Register),
    CfaOffset(i32),
    CfaExpression(Expression),
    Restore(Register),
    Undefined(Register),
    SameValue(Register),
    Offset(Registeri32),
    ValOffset(Registeri32),
    Register(RegisterRegister),
    Expression(RegisterExpression),
    ValExpression(RegisterExpression),
    RememberState,
    RestoreState,
    ArgsSize(u32),
}

An instruction in a frame description entry.

This may be a CFA definition, a register rule, or some other directive.

Variants

Cfa(Registeri32)

Define the CFA rule to use the provided register and offset.

CfaRegister(Register)

Update the CFA rule to use the provided register. The offset is unchanged.

CfaOffset(i32)

Update the CFA rule to use the provided offset. The register is unchanged.

CfaExpression(Expression)

Define the CFA rule to use the provided expression.

Restore(Register)

Restore the initial rule for the register.

Undefined(Register)

The previous value of the register is not recoverable.

SameValue(Register)

The register has not been modified.

Offset(Registeri32)

The previous value of the register is saved at address CFA + offset.

ValOffset(Registeri32)

The previous value of the register is CFA + offset.

Register(RegisterRegister)

The previous value of the register is stored in another register.

Expression(RegisterExpression)

The previous value of the register is saved at address given by the expression.

ValExpression(RegisterExpression)

The previous value of the register is given by the expression.

RememberState

Push all register rules onto a stack.

RestoreState

Pop all register rules off the stack.

ArgsSize(u32)

The size of the arguments that have been pushed onto the stack.

Trait Implementations

impl PartialEq<CallFrameInstruction> for CallFrameInstruction[src]

impl Eq for CallFrameInstruction[src]

impl Hash for CallFrameInstruction[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for CallFrameInstruction[src]

impl Clone for CallFrameInstruction[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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