diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-09-29 18:35:36 +0200 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-09-29 18:35:36 +0200 |
commit | 05acff8bcb4f127a6f0ff6c587ba38d1c8cbe2fc (patch) | |
tree | ef79a4e4e812a0dc988462d9c22670cddfa29a13 /debug/Dwarfgen.ml | |
parent | 4e0ffb627524e3a251ee9e82ed88e1ed45e26b16 (diff) | |
download | compcert-05acff8bcb4f127a6f0ff6c587ba38d1c8cbe2fc.tar.gz compcert-05acff8bcb4f127a6f0ff6c587ba38d1c8cbe2fc.zip |
More fixes for the DebugInformation.
Changed the sizeof function to take into account the bytes needed
for the sleb128/uleb128 encoding of the DW_OP_* arguments and
changed the end_live_range function to only close functions where
the live range is currently open.
Diffstat (limited to 'debug/Dwarfgen.ml')
-rw-r--r-- | debug/Dwarfgen.ml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/debug/Dwarfgen.ml b/debug/Dwarfgen.ml index 3239ceb6..ac32f9f1 100644 --- a/debug/Dwarfgen.ml +++ b/debug/Dwarfgen.ml @@ -235,6 +235,7 @@ let needs_types id d = | Void | EnumType _ -> d,false | Typedef t -> + Printf.printf "Typedef %s\n" t.typedef_name; add_type (get_opt_val t.typ) d | PointerType p -> add_type p.pts d |