Enum gimli::write::CallFrameInstruction
source · #[non_exhaustive]pub enum CallFrameInstruction {
Show 16 variants
Cfa(Register, i32),
CfaRegister(Register),
CfaOffset(i32),
CfaExpression(Expression),
Restore(Register),
Undefined(Register),
SameValue(Register),
Offset(Register, i32),
ValOffset(Register, i32),
Register(Register, Register),
Expression(Register, Expression),
ValExpression(Register, Expression),
RememberState,
RestoreState,
ArgsSize(u32),
NegateRaState,
}
Expand description
An instruction in a frame description entry.
This may be a CFA definition, a register rule, or some other directive.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Cfa(Register, i32)
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(Register, i32)
The previous value of the register is saved at address CFA + offset.
ValOffset(Register, i32)
The previous value of the register is CFA + offset.
Register(Register, Register)
The previous value of the register is stored in another register.
Expression(Register, Expression)
The previous value of the register is saved at address given by the expression.
ValExpression(Register, Expression)
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.
NegateRaState
AAarch64 extension: negate the RA_SIGN_STATE
pseudo-register.
Trait Implementations§
source§impl Clone for CallFrameInstruction
impl Clone for CallFrameInstruction
source§fn clone(&self) -> CallFrameInstruction
fn clone(&self) -> CallFrameInstruction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CallFrameInstruction
impl Debug for CallFrameInstruction
source§impl Hash for CallFrameInstruction
impl Hash for CallFrameInstruction
source§impl PartialEq for CallFrameInstruction
impl PartialEq for CallFrameInstruction
impl Eq for CallFrameInstruction
impl StructuralPartialEq for CallFrameInstruction
Auto Trait Implementations§
impl Freeze for CallFrameInstruction
impl RefUnwindSafe for CallFrameInstruction
impl Send for CallFrameInstruction
impl Sync for CallFrameInstruction
impl Unpin for CallFrameInstruction
impl UnwindSafe for CallFrameInstruction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.