Skip to main content

Module assembler

Module assembler 

Source
Expand description

Integrated assembler (MC) stage.

This module makes the direct machine-code emission path explicit: machine IR -> target encoder (Emitter) -> object sections/symbols -> object bytes. No textual assembly round-trip is required.

Structs§

AssembledObject
Result of integrated assembly.
IntegratedAssembler
Default integrated assembler: directly lowers machine IR to object bytes.
McAssemblyReport
Summary metrics for one assembly invocation.

Traits§

McAssembler
Pluggable assembler interface for machine-code/object emission.

Functions§

assemble_bytes
Convenience wrapper that assembles machine IR directly into raw bytes.
assemble_object
Convenience wrapper that assembles machine IR directly into an object.
assemble_with_report
Convenience wrapper returning object, bytes, and assembly report.