Lines Matching refs:CallFrameInstruction
49 pub(crate) enum CallFrameInstruction { enum
69 impl From<gimli::write::CallFrameInstruction> for CallFrameInstruction { implementation
70 fn from(cfi: gimli::write::CallFrameInstruction) -> Self { in from()
71 use gimli::write::CallFrameInstruction; in from()
74 CallFrameInstruction::Cfa(reg, offset) => Self::Cfa(reg.0, offset), in from()
75 CallFrameInstruction::CfaRegister(reg) => Self::CfaRegister(reg.0), in from()
76 CallFrameInstruction::CfaOffset(offset) => Self::CfaOffset(offset), in from()
77 CallFrameInstruction::Restore(reg) => Self::Restore(reg.0), in from()
78 CallFrameInstruction::Undefined(reg) => Self::Undefined(reg.0), in from()
79 CallFrameInstruction::SameValue(reg) => Self::SameValue(reg.0), in from()
80 CallFrameInstruction::Offset(reg, offset) => Self::Offset(reg.0, offset), in from()
81 CallFrameInstruction::ValOffset(reg, offset) => Self::ValOffset(reg.0, offset), in from()
82 CallFrameInstruction::Register(reg1, reg2) => Self::Register(reg1.0, reg2.0), in from()
83 CallFrameInstruction::RememberState => Self::RememberState, in from()
84 CallFrameInstruction::RestoreState => Self::RestoreState, in from()
85 CallFrameInstruction::ArgsSize(size) => Self::ArgsSize(size), in from()
96 impl From<CallFrameInstruction> for gimli::write::CallFrameInstruction { implementation
97 fn from(cfi: CallFrameInstruction) -> gimli::write::CallFrameInstruction { in from() argument
98 use CallFrameInstruction as ClifCfi; in from()
99 use gimli::{Register, write::CallFrameInstruction as GimliCfi, write::Expression}; in from()
157 instructions: Vec<(u32, CallFrameInstruction)>,
185 CallFrameInstruction::CfaOffset(offset_upward_to_caller_sp as i32), in create_unwind_info_from_insts()
191 CallFrameInstruction::Offset( in create_unwind_info_from_insts()
201 CallFrameInstruction::Offset( in create_unwind_info_from_insts()
219 instructions.push((instruction_offset, CallFrameInstruction::CfaRegister(fp))); in create_unwind_info_from_insts()
235 CallFrameInstruction::CfaOffset(cfa_offset as i32), in create_unwind_info_from_insts()
247 instructions.push((instruction_offset, CallFrameInstruction::Offset(reg, off))); in create_unwind_info_from_insts()
259 CallFrameInstruction::ValOffset(reg, off), in create_unwind_info_from_insts()
265 CallFrameInstruction::Aarch64SetPointerAuth { return_addresses }, in create_unwind_info_from_insts()