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.
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: u32Size to allocate.
The stack pointer was adjusted to free the stack.
Show fields
Fields of StackDealloc
size: u32Size 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: boolWhether return addresses (hold in LR) contain a pointer-authentication code.
Trait Implementations
impl<Reg: Clone> Clone for UnwindCode<Reg>[src]
impl<Reg: Clone> Clone for UnwindCode<Reg>[src]fn clone(&self) -> UnwindCode<Reg>[src]
fn clone(&self) -> UnwindCode<Reg>[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl<Reg: Debug> Debug for UnwindCode<Reg>[src]
impl<Reg: Debug> Debug for UnwindCode<Reg>[src]impl<Reg: PartialEq> PartialEq<UnwindCode<Reg>> for UnwindCode<Reg>[src]
impl<Reg: PartialEq> PartialEq<UnwindCode<Reg>> for UnwindCode<Reg>[src]fn eq(&self, other: &UnwindCode<Reg>) -> bool[src]
fn eq(&self, other: &UnwindCode<Reg>) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &UnwindCode<Reg>) -> bool[src]
fn ne(&self, other: &UnwindCode<Reg>) -> bool[src]This method tests for !=.
impl<Reg: Eq> Eq for UnwindCode<Reg>[src]
impl<Reg> StructuralEq for UnwindCode<Reg>[src]
impl<Reg> StructuralPartialEq for UnwindCode<Reg>[src]
Auto Trait Implementations
impl<Reg> RefUnwindSafe for UnwindCode<Reg> where
Reg: RefUnwindSafe,
Reg: RefUnwindSafe,
impl<Reg> Send for UnwindCode<Reg> where
Reg: Send,
Reg: Send,
impl<Reg> Sync for UnwindCode<Reg> where
Reg: Sync,
Reg: Sync,
impl<Reg> Unpin for UnwindCode<Reg> where
Reg: Unpin,
Reg: Unpin,
impl<Reg> UnwindSafe for UnwindCode<Reg> where
Reg: UnwindSafe,
Reg: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]pub fn equivalent(&self, key: &K) -> bool[src]
pub fn equivalent(&self, key: &K) -> bool[src]Compare self to key and return true if they are equal.
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more