Enum cranelift_codegen::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.
Fields of SaveRegister
Defines that a register is as defined before call.
The stack pointer was adjusted to allocate the stack.
Fields of StackAlloc
size: u32
Size to allocate.
The stack pointer was adjusted to free the stack.
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.
Fields of Aarch64SetPointerAuth
return_addresses: bool
Whether return addresses (hold in LR) contain a pointer-authentication code.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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.