diff options
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 |