compiler/stage2_l0/src/codegen_options.l0

Module codegen_options

Overview Symbols grouped by source file: compiler/stage2_l0/src/codegen_options.l0

Module: codegen_options

Source: compiler/stage2_l0/src/codegen_options.l0 Language: Dea/L0

Symbols

Function cg_options_create

func cg_options_create() -> CodegenOptions*

Create codegen options with Stage 1-aligned defaults.

Returns: New codegen options object.

Function cg_options_free

func cg_options_free(self: CodegenOptions*)

Free a codegen-options object.

Parameters:

  • self: Options object to free.

Struct CodegenOptions

Represents backend and emitter options that affect generated C text.

CodegenOptions Field emit_line_directives

emit_line_directives: bool

CodegenOptions Field trace_arc

trace_arc: bool

CodegenOptions Field trace_memory

trace_memory: bool

CodegenOptions Field rt_unchecked

rt_unchecked: bool

CodegenOptions Field rt_check_basic

rt_check_basic: bool