diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-08-26 14:28:22 +0200 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-08-26 14:28:22 +0200 |
commit | 108db39b8b7c1d42cbc38c5aabf885ef5440f189 (patch) | |
tree | c5f6433d93f22f19e645df40f03b5c3bc2970fe8 | |
parent | e0f1a60f5ff9d2efc8b106b5167f0170b8795dbe (diff) | |
download | compcert-108db39b8b7c1d42cbc38c5aabf885ef5440f189.tar.gz compcert-108db39b8b7c1d42cbc38c5aabf885ef5440f189.zip |
Added the abbreviation for symbol constants.
-rw-r--r-- | debug/DwarfPrinter.ml | 1 |
1 files changed, 1 insertions, 0 deletions
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 |