Module Debuginfo
module ZA = Zero_alloc_utilsmodule Scoped_location : sig ... endtype item = private {dinfo_file : string;dinfo_line : int;dinfo_char_start : int;dinfo_char_end : int;dinfo_start_bol : int;dinfo_end_bol : int;dinfo_end_line : int;dinfo_scopes : Debuginfo.Scoped_location.scopes;(*See the
*)Inlined_debuginfomodule in Flambda 2 for an explanation of the uid and function symbol fields. (They are used for generation of DWARF inlined frame information.) These fields should only be set toSomeby Flambda 2.dinfo_uid : string option;dinfo_function_symbol : string option;dinfo_dir : string option;
}val item_with_uid_and_function_symbol :
Debuginfo.item ->
dinfo_uid:string option ->
dinfo_function_symbol:string option ->
Debuginfo.itemval none : Debuginfo.tval is_none : Debuginfo.t -> boolval of_items : Debuginfo.item list -> Debuginfo.tval mapi_items :
Debuginfo.t ->
f:(int -> Debuginfo.item -> Debuginfo.item) ->
Debuginfo.tval to_items : Debuginfo.t -> Debuginfo.item listval to_string : Debuginfo.t -> stringval from_location : Debuginfo.Scoped_location.t -> Debuginfo.tval to_location : Debuginfo.t -> Location.tval inline : Debuginfo.t -> from_inlined_body:Debuginfo.t -> Debuginfo.tval compare : Debuginfo.t -> Debuginfo.t -> intval print_compact : Stdlib.Format.formatter -> Debuginfo.t -> unitval print_compact_extended : Stdlib.Format.formatter -> Debuginfo.t -> unitLike print_compact but also prints uid and function symbol info.
val merge : into:Debuginfo.t -> Debuginfo.t -> Debuginfo.tval assume_zero_alloc : Debuginfo.t -> ZA.Assume_info.tmodule Dbg : sig ... endval get_dbg : Debuginfo.t -> Debuginfo.Dbg.t