From 108db39b8b7c1d42cbc38c5aabf885ef5440f189 Mon Sep 17 00:00:00 2001 From: Bernhard Schommer Date: Wed, 26 Aug 2015 14:28:22 +0200 Subject: Added the abbreviation for symbol constants. --- debug/DwarfPrinter.ml | 1 + 1 file changed, 1 insertion(+) (limited to 'debug/DwarfPrinter.ml') diff --git a/debug/DwarfPrinter.ml b/debug/DwarfPrinter.ml index cd888a80..c85a9efc 100644 --- a/debug/DwarfPrinter.ml +++ b/debug/DwarfPrinter.ml @@ -72,6 +72,7 @@ module DwarfPrinter(Target: DWARF_TARGET)(DwarfAbbrevs:DWARF_ABBREVS): let add_location loc buf = match loc with | None -> () + | Some (LocSymbol _) ->add_abbr_entry (0x2,location_block_type_abbr) buf | Some (LocConst _) -> add_abbr_entry (0x2,location_const_type_abbr) buf | Some (LocBlock _) -> add_abbr_entry (0x2,location_block_type_abbr) buf -- cgit