Module Linkenv
module CU := Compilation_unittype unit_link_info = {name : Compilation_unit.t;defines : Compilation_unit.t list;file_name : string;crc : Stdlib.Digest.t;dynunit : Cmxs_format.dynunit option;
}val create : unit -> Linkenv.tval extract_crc_interfaces : Linkenv.t -> Import_info.t listval extract_crc_implementations : Linkenv.t -> Import_info.t listval lib_ccopts : Linkenv.t -> string listval lib_ccobjs : Linkenv.t -> Linkenv.filepath listval make_globals_map :
Linkenv.t ->
Linkenv.unit_link_info list ->
(CU.t * Stdlib.Digest.t option * Stdlib.Digest.t option * Symbol.t list) listval add_ccobjs :
Linkenv.t ->
Linkenv.filepath ->
Cmx_format.library_infos ->
unitval is_required : Linkenv.t -> Compilation_unit.t -> boolval add_required :
Linkenv.t ->
(Linkenv.filepath * CU.Name.t option) ->
Import_info.t ->
unitval get_quoted_globals : Linkenv.t -> CU.Name.Set.tval extract_missing_globals : Linkenv.t -> (CU.t * Linkenv.filepath list) listval check_cmi_consistency :
Linkenv.t ->
Linkenv.filepath ->
Import_info.t array ->
unitval check_cmx_consistency :
Linkenv.t ->
Linkenv.filepath ->
Import_info.t array ->
unitval check_consistency :
Linkenv.t ->
unit:Linkenv.unit_link_info ->
Import_info.t array ->
Import_info.t array ->
unittype error = | File_not_found of Linkenv.filepath| Not_an_object_file of Linkenv.filepath| Missing_implementations of (Compilation_unit.t * string list) list| Inconsistent_interface of Compilation_unit.Name.t * Linkenv.filepath * Linkenv.filepath| Inconsistent_implementation of Compilation_unit.t * Linkenv.filepath * Linkenv.filepath| Multiple_definition of Compilation_unit.Name.t * Linkenv.filepath * Linkenv.filepath| Missing_cmx of Linkenv.filepath * Compilation_unit.t| Linking_error of int| Archiver_error of string| Metaprogramming_not_supported_by_backend of Linkenv.filepath
exception Error of Linkenv.error