Struct cranelift_codegen::machinst::MachCompileResult [−][src]
pub struct MachCompileResult { pub buffer: MachBufferFinalized, pub frame_size: u32, pub disasm: Option<String>, pub value_labels_ranges: ValueLabelsRanges, pub stackslot_offsets: PrimaryMap<StackSlot, u32>, }
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.
value_labels_ranges: ValueLabelsRanges
Debug info: value labels to registers/stackslots at code offsets.
stackslot_offsets: PrimaryMap<StackSlot, u32>
Debug info: stackslots to stack pointer offsets.