aboutsummaryrefslogtreecommitdiffstats
path: root/debug/DwarfPrinter.ml
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2015-08-26 14:28:22 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2015-08-26 14:28:22 +0200
commit108db39b8b7c1d42cbc38c5aabf885ef5440f189 (patch)
treec5f6433d93f22f19e645df40f03b5c3bc2970fe8 /debug/DwarfPrinter.ml
parente0f1a60f5ff9d2efc8b106b5167f0170b8795dbe (diff)
downloadcompcert-kvx-108db39b8b7c1d42cbc38c5aabf885ef5440f189.tar.gz
compcert-kvx-108db39b8b7c1d42cbc38c5aabf885ef5440f189.zip
Added the abbreviation for symbol constants.
Diffstat (limited to 'debug/DwarfPrinter.ml')
-rw-r--r--debug/DwarfPrinter.ml1
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