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 : 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 none : tval is_none : t -> boolval to_string : t -> stringval from_location : Scoped_location.t -> tval to_location : t -> Location.tval print_compact : Format.formatter -> t -> unitval doc_print_compact : Format_doc.formatter -> t -> unitLike print_compact but uses Format_doc.formatter.
val print_compact_extended : Format.formatter -> t -> unitLike print_compact but also prints uid and function symbol info.
val assume_zero_alloc : t -> ZA.Assume_info.tval to_structured_mangling_path : name:string -> t -> Structured_mangling.pathto_structured_mangling_path converts the debug info into a mangling path. In all cases, the name is used to populate the last element of the path.
module Dbg : sig ... end