jon.recoil.org

Module Flambda2_cmx.Flambda_cmx_format

Contents of middle-end-specific portion of .cmx files when using Flambda.

type t
type raw
val to_raw : t -> raw * Oxcaml_utils.File_sections.t
val from_raw : sections:Oxcaml_utils.File_sections.t -> raw -> t
val import_typing_env_and_code : t -> Flambda2_types.Typing_env.Serializable.t * Exported_code.t
val with_exported_offsets : t -> Flambda2_simplify_shared.Exported_offsets.t -> t
val merge : t option -> t option -> t option

Aggregate several cmx into one for packs

val print : print_typing_env:bool -> print_code:bool -> print_offsets:bool -> Format.formatter -> t -> unit

For ocamlobjinfo