aboutsummaryrefslogtreecommitdiffstats
path: root/debug/CtoDwarf.ml
blob: 0ee0842a1299121b47f98b9173e854b98e07a890 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
(* *********************************************************************)
(*                                                                     *)
(*              The Compcert verified compiler                         *)
(*                                                                     *)
(*          Bernhard Schommer, AbsInt Angewandte Informatik GmbH       *)
(*                                                                     *)
(*  AbsInt Angewandte Informatik GmbH. All rights reserved. This file  *)
(*  is distributed under the terms of the INRIA Non-Commercial         *)
(*  License Agreement.                                                 *)
(*                                                                     *)
(* *********************************************************************)

(* Functions to translate a C Ast into Dwarf 2 debugging information *)


(* Hashtable to from type name to entry id *)
let type_table: (string, int) Hashtbl.t = Hashtbl.create 7