package ocaml-base-compiler

  1. Overview
  2. Docs
Official release 5.2.0

Install

Dune Dependency

Authors

Maintainers

Sources

5.2.0.tar.gz
sha256=48554abfd530fcdaa08f23f801b699e4f74c320ddf7d0bd56b0e8c24e55fc911

doc/compiler-libs.common/Cmo_format/index.html

Module Cmo_format

type modname = string
type crcs = (modname * Digest.t option) list
type compunit =
  1. | Compunit of string
type predef =
  1. | Predef_exn of string
type reloc_info =
  1. | Reloc_literal of Obj.t
  2. | Reloc_getcompunit of compunit
  3. | Reloc_getpredef of predef
  4. | Reloc_setcompunit of compunit
  5. | Reloc_primitive of string
type compilation_unit = {
  1. cu_name : compunit;
  2. mutable cu_pos : int;
  3. cu_codesize : int;
  4. cu_reloc : (reloc_info * int) list;
  5. cu_imports : crcs;
  6. cu_required_compunits : compunit list;
  7. cu_primitives : string list;
  8. mutable cu_debug : int;
  9. cu_debugsize : int;
}
type library = {
  1. lib_units : compilation_unit list;
  2. lib_custom : bool;
  3. lib_ccobjs : string list;
  4. lib_ccopts : string list;
  5. lib_dllibs : string list;
}
OCaml

Innovation. Community. Security.