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

Get a CodeInfo describing section sizes from this compilation result.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.