codegen_options.l0

codegen_options.l0

Module: codegen_options

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

Symbols

Function cg_options_create

1
func cg_options_create() -> CodegenOptions*

Create codegen options with Stage 1-aligned defaults.

Returns: New codegen options object.

Function cg_options_free

1
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

1
emit_line_directives: bool

CodegenOptions Field trace_arc

1
trace_arc: bool

CodegenOptions Field trace_memory

1
trace_memory: bool

CodegenOptions Field rt_unchecked

1
rt_unchecked: bool

CodegenOptions Field rt_check_basic

1
rt_check_basic: bool