diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-03-16 18:09:15 +0100 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-03-16 18:09:15 +0100 |
commit | 89e7840807d9b39636ed84c43ec21485ea776cf9 (patch) | |
tree | b7019fd505fe5daa369a798c12ff91f9362e860b /debug/CtoDwarf.ml | |
parent | 9699d81b304414534008258c05d391bdc1c9e217 (diff) | |
download | compcert-89e7840807d9b39636ed84c43ec21485ea776cf9.tar.gz compcert-89e7840807d9b39636ed84c43ec21485ea776cf9.zip |
Added file for the translation of the C Ast to Dwarf debugging information.
Diffstat (limited to 'debug/CtoDwarf.ml')
-rw-r--r-- | debug/CtoDwarf.ml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/debug/CtoDwarf.ml b/debug/CtoDwarf.ml new file mode 100644 index 00000000..0ee0842a --- /dev/null +++ b/debug/CtoDwarf.ml @@ -0,0 +1,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 + |