Module Cgil_lib.Gilgen

type symbol
val is_def_sym : symbol -> bool
val sym_name : symbol -> string
type compilation_data = {
  1. genv_defs : (string * Global_env.def) list;
  2. genv_init_cmds : string Gillian.Gil_syntax.Cmd.t list;
  3. symbols : symbol list;
}

Data exported during compilation and used during linking.

val trans_program : ?exec_mode:Cgil_lib.CConstants.Exec_mode.t -> ?gil_annot:Gil_logic_gen.gil_annots -> clight_prog:Compcert.Clight.program -> filepath:string -> mangled_syms:(string, string) Stdlib.Hashtbl.t -> Compcert.Csharpminor.program -> (Gillian.Gil_syntax.Annot.Basic.t, string) Gillian.Gil_syntax.Prog.t * compilation_data
val trans_program_with_annots : exec_mode:Cgil_lib.CConstants.Exec_mode.t -> clight_prog:Compcert.Clight.program -> filepath:string -> mangled_syms:(string, string) Stdlib.Hashtbl.t -> Compcert.Csharpminor.program -> CLogic.CProg.t -> (Gillian.Gil_syntax.Annot.Basic.t, string) Gillian.Gil_syntax.Prog.t * compilation_data