pub fn compile_backend(
functions: &[FunctionWithCfg],
type_pool: &TypeInternPool,
strings: &[String],
interner: &ThreadedRodeo,
options: &CompileOptions,
warnings: &[CompileWarning],
) -> MultiErrorResult<CompileOutput>Expand description
Compile analyzed functions to a binary.
This is the unified backend that handles both architectures. It:
- Generates machine code for each function in parallel
- Creates object files with relocations
- Links them into an executable
This function is used by CompilationUnit::compile() and the legacy
compile functions.