cranelift-codegen: Prepare cranelift codegen for usage from Winch (#5413)

This commit prepares the x64 pieces from cranelift codegen to be consumed by
Winch for binary emission. This change doesn't introduce or modifies
functionality it makes the necessary pieces for binary emission public.

This change also improves documentation where applicable.
This commit is contained in:
Saúl Cabrera
2022-12-12 12:01:06 -05:00
committed by GitHub
parent 122872fb0c
commit 7adf3cacc5
5 changed files with 119 additions and 22 deletions

View File

@@ -89,7 +89,10 @@ pub mod write;
pub use crate::entity::packed_option;
pub use crate::machinst::buffer::{MachCallSite, MachReloc, MachSrcLoc, MachStackMap, MachTrap};
pub use crate::machinst::{CompiledCode, TextSectionBuilder};
pub use crate::machinst::{
CompiledCode, Final, MachBuffer, MachBufferFinalized, MachInst, MachInstEmit, Reg,
TextSectionBuilder, Writable,
};
mod alias_analysis;
mod bitset;