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
Defines that a register is saved at the specified offset.
Show fields
Fields of SaveRegister
Defines that a register is as defined before call.
The stack pointer was adjusted to allocate the stack.
Show fields
Fields of StackAlloc
size: u32
Size to allocate.
The stack pointer was adjusted to free the stack.
Show fields
Fields of StackDealloc
size: u32
Size to deallocate.
The alternative register was assigned as frame pointer base.
Restores a frame pointer base to default register.
Saves the state.
Restores the state.
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
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<UnwindCode<Reg>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<UnwindCode<Reg>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]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 !=
.
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl<Reg> RefUnwindSafe for UnwindCode<Reg> where
Reg: RefUnwindSafe,
impl<Reg> Send for UnwindCode<Reg> where
Reg: Send,
impl<Reg> Sync for UnwindCode<Reg> where
Reg: Sync,
impl<Reg> Unpin for UnwindCode<Reg> where
Reg: Unpin,
impl<Reg> UnwindSafe for UnwindCode<Reg> where
Reg: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.