Struct cranelift_codegen::machinst::MachCompileResult
source · [−]pub struct MachCompileResult {
pub buffer: MachBufferFinalized,
pub frame_size: u32,
pub disasm: Option<String>,
pub unwind_info: Option<UnwindInfo<Reg>>,
}
Expand description
The result of a MachBackend::compile_function()
call. Contains machine
code (as bytes) and a disassembly, if requested.
Fields
buffer: MachBufferFinalized
Machine code.
frame_size: u32
Size of stack frame, in bytes.
disasm: Option<String>
Disassembly, if requested.
unwind_info: Option<UnwindInfo<Reg>>
Unwind info.
Implementations
Auto Trait Implementations
impl RefUnwindSafe for MachCompileResult
impl Send for MachCompileResult
impl Sync for MachCompileResult
impl Unpin for MachCompileResult
impl UnwindSafe for MachCompileResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more