aboutsummaryrefslogtreecommitdiffstats
path: root/debug/Dwarfgen.ml
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2016-12-07 10:10:33 +0100
committerBernhard Schommer <bernhardschommer@gmail.com>2016-12-07 10:10:33 +0100
commit680444f180c750078a77b0591cd5c19e632612d6 (patch)
tree18b006bd2ea8e8c0d2ab4cb34f96afffc9621d11 /debug/Dwarfgen.ml
parent9683212947ec3e4efe431efe589897c34f999d15 (diff)
downloadcompcert-kvx-680444f180c750078a77b0591cd5c19e632612d6.tar.gz
compcert-kvx-680444f180c750078a77b0591cd5c19e632612d6.zip
More verbose dwarf.
Diffstat (limited to 'debug/Dwarfgen.ml')
-rw-r--r--debug/Dwarfgen.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/debug/Dwarfgen.ml b/debug/Dwarfgen.ml
index 65cd4951..30e44e52 100644
--- a/debug/Dwarfgen.ml
+++ b/debug/Dwarfgen.ml
@@ -583,11 +583,11 @@ let gnu_string_entry s =
Simple_string s
else
try
- Offset_string (Hashtbl.find string_table s)
+ Offset_string ((Hashtbl.find string_table s),s)
with Not_found ->
let id = next_id () in
Hashtbl.add string_table s id;
- Offset_string id
+ Offset_string (id,s)
let gen_gnu_debug_info sec_name var_section : debug_entries =