aboutsummaryrefslogtreecommitdiffstats
path: root/debug/DwarfPrinter.ml
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2015-08-23 20:13:33 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2015-08-23 20:13:33 +0200
commit20b311376d93fd68d51a66ac4c158c000333ae18 (patch)
tree63807364f5d871b6363b89dbf5e71b4f6f66f4a6 /debug/DwarfPrinter.ml
parent10d5ed08a324ffd10d4db8ec58bbf6e77253bc36 (diff)
downloadcompcert-kvx-20b311376d93fd68d51a66ac4c158c000333ae18.tar.gz
compcert-kvx-20b311376d93fd68d51a66ac4c158c000333ae18.zip
Revert "Added support for the location of non static global variables."
This reverts commit b4846ffadfa3fbb73ffa7d9c43e5218adeece8da.
Diffstat (limited to 'debug/DwarfPrinter.ml')
-rw-r--r--debug/DwarfPrinter.ml8
1 files changed, 1 insertions, 7 deletions
diff --git a/debug/DwarfPrinter.ml b/debug/DwarfPrinter.ml
index 70b68634..67245ca8 100644
--- a/debug/DwarfPrinter.ml
+++ b/debug/DwarfPrinter.ml
@@ -74,7 +74,6 @@ module DwarfPrinter(Target: DWARF_TARGET)(DwarfAbbrevs:DWARF_ABBREVS):
| None -> ()
| Some (LocConst _) -> add_abbr_entry (0x2,location_const_type_abbr) buf
| Some (LocBlock _) -> add_abbr_entry (0x2,location_block_type_abbr) buf
- | Some (LocSymbol _) -> add_abbr_entry (0x2,location_block_type_abbr) buf
(* Dwarf entity to string function *)
let abbrev_string_of_entity entity has_sibling =
@@ -295,12 +294,7 @@ module DwarfPrinter(Target: DWARF_TARGET)(DwarfAbbrevs:DWARF_ABBREVS):
fprintf oc " .byte 0x%X\n" b
let print_loc oc loc =
- match loc with
- | LocSymbol s ->
- fprintf oc " .sleb128 5\n";
- fprintf oc " .byte 3\n";
- fprintf oc " .4byte %s\n" s
- | _ -> ()
+ ()
let print_data_location oc dl =
()