Enum wasmtime_environ::isa::unwind::input::UnwindCode[][src]

pub enum UnwindCode<Reg> {
    SaveRegister {
        reg: Reg,
        stack_offset: u32,
    },
    RestoreRegister {
        reg: Reg,
    },
    StackAlloc {
        size: u32,
    },
    StackDealloc {
        size: u32,
    },
    SetFramePointer {
        reg: Reg,
    },
    RestoreFramePointer,
    RememberState,
    RestoreState,
    Aarch64SetPointerAuth {
        return_addresses: bool,
    },
}
Expand description

Elementary operation in the unwind operations.

Variants

SaveRegister

Defines that a register is saved at the specified offset.

Show fields

Fields of SaveRegister

reg: Reg

The saved register.

stack_offset: u32

The specified offset relative to the stack pointer.

RestoreRegister

Defines that a register is as defined before call.

Show fields

Fields of RestoreRegister

reg: Reg

The restored register.

StackAlloc

The stack pointer was adjusted to allocate the stack.

Show fields

Fields of StackAlloc

size: u32

Size to allocate.

StackDealloc

The stack pointer was adjusted to free the stack.

Show fields

Fields of StackDealloc

size: u32

Size to deallocate.

SetFramePointer

The alternative register was assigned as frame pointer base.

Show fields

Fields of SetFramePointer

reg: Reg

The specified register.

RestoreFramePointer

Restores a frame pointer base to default register.

RememberState

Saves the state.

RestoreState

Restores the state.

Aarch64SetPointerAuth

On aarch64 ARMv8.3+ devices, enables or disables pointer authentication.

Show fields

Fields of Aarch64SetPointerAuth

return_addresses: bool

Whether return addresses (hold in LR) contain a pointer-authentication code.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. 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

Compare self to key and return true if they are equal.

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.