Struct cranelift_codegen::machinst::MachCompileResult[][src]

pub struct MachCompileResult {
    pub buffer: MachBufferFinalized,
    pub frame_size: u32,
    pub disasm: Option<String>,
    pub unwind_info: Option<UnwindInfo<Reg>>,
}

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

impl MachCompileResult[src]

pub fn code_info(&self) -> CodeInfo[src]

Get a CodeInfo describing section sizes from this compilation result.

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.