diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2016-12-07 10:10:33 +0100 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2016-12-07 10:10:33 +0100 |
commit | 680444f180c750078a77b0591cd5c19e632612d6 (patch) | |
tree | 18b006bd2ea8e8c0d2ab4cb34f96afffc9621d11 /debug/DwarfPrinter.ml | |
parent | 9683212947ec3e4efe431efe589897c34f999d15 (diff) | |
download | compcert-kvx-680444f180c750078a77b0591cd5c19e632612d6.tar.gz compcert-kvx-680444f180c750078a77b0591cd5c19e632612d6.zip |
More verbose dwarf.
Diffstat (limited to 'debug/DwarfPrinter.ml')
-rw-r--r-- | debug/DwarfPrinter.ml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debug/DwarfPrinter.ml b/debug/DwarfPrinter.ml index c9eb5acc..b81507a8 100644 --- a/debug/DwarfPrinter.ml +++ b/debug/DwarfPrinter.ml @@ -308,7 +308,9 @@ module DwarfPrinter(Target: DWARF_TARGET): let print_string oc c = function | Simple_string s -> fprintf oc " .asciz \"%s\"%a\n" s print_comment c - | Offset_string o -> print_loc_ref oc c o + | Offset_string (o,s) -> + let c = sprintf "%s %s" c s in + print_loc_ref oc c o let print_uleb128 oc c d = fprintf oc " .uleb128 %d%a\n" d print_comment c |