package ocaml-base-compiler

  1. Overview
  2. Docs
Official release 4.09.1

Install

Dune Dependency

Authors

Maintainers

Sources

4.09.1.tar.gz
sha256=3e3146e0c876d14bdd574cb543e782feb2b07a7cabd054a8f322ef40de61943a

doc/ocamloptcomp/Reg_with_debug_info/index.html

Module Reg_with_debug_info

Registers equipped with information used for generating debugging information.

module Debug_info : sig ... end
type t
type reg_with_debug_info = t
val create : reg:Reg.t -> holds_value_of:Backend_var.t -> part_of_value:int -> num_parts_of_value:int -> which_parameter:int option -> provenance:unit option -> t
val create_with_debug_info : reg:Reg.t -> debug_info:Debug_info.t option -> t
val create_without_debug_info : reg:Reg.t -> t
val create_copying_debug_info : reg:Reg.t -> debug_info_from:t -> t
val reg : t -> Reg.t
val location : t -> Reg.location
val debug_info : t -> Debug_info.t option
val at_same_location : t -> Reg.t -> register_class:(Reg.t -> int) -> bool

at_same_location t reg holds iff the register t corresponds to the same (physical or pseudoregister) location as the register reg, which is not equipped with debugging information. register_class should be Proc.register_class.

val holds_pointer : t -> bool
val holds_non_pointer : t -> bool
val assigned_to_stack : t -> bool

assigned_to_stack t holds iff the location of t is a hard stack slot.

val clear_debug_info : t -> t
module Set : sig ... end
val print : print_reg:(Format.formatter -> Reg.t -> unit) -> Format.formatter -> t -> unit
OCaml

Innovation. Community. Security.