pub fn compile_ir_to_asm(
    ir: &Context,
    build_config: Option<&BuildConfig>
) -> CompileResult<FinalizedAsm>