]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/ocaml/ocaml/contrib/asmcomp/debuginfo.mli
Update
[l4.git] / l4 / pkg / ocaml / ocaml / contrib / asmcomp / debuginfo.mli
1 (***********************************************************************)
2 (*                                                                     *)
3 (*                           Objective Caml                            *)
4 (*                                                                     *)
5 (*            Xavier Leroy, projet Gallium, INRIA Rocquencourt         *)
6 (*                                                                     *)
7 (*  Copyright 2006 Institut National de Recherche en Informatique et   *)
8 (*  en Automatique.  All rights reserved.  This file is distributed    *)
9 (*  under the terms of the Q Public License version 1.0.               *)
10 (*                                                                     *)
11 (***********************************************************************)
12
13 type kind = Dinfo_call | Dinfo_raise
14
15 type t = {
16   dinfo_kind: kind;
17   dinfo_file: string;
18   dinfo_line: int;
19   dinfo_char_start: int;
20   dinfo_char_end: int
21 }
22
23 val none: t
24
25 val to_string: t -> string
26
27 val from_location: kind -> Location.t -> t
28
29 val from_call: Lambda.lambda_event -> t
30 val from_raise: Lambda.lambda_event -> t
31