package ocaml-base-compiler

  1. Overview
  2. Docs
type error =
  1. | Truncated_file
  2. | Unrecognized of string
  3. | Unsupported of string * int64
  4. | Out_of_range of string
val error_to_string : error -> string
type t
val read : string -> (t, error) Result.t
val defines_symbol : t -> string -> bool
val symbol_offset : t -> string -> int64 option