aboutsummaryrefslogtreecommitdiffstats
path: root/debug/CtoDwarf.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/CtoDwarf.ml
parent10d5ed08a324ffd10d4db8ec58bbf6e77253bc36 (diff)
downloadcompcert-20b311376d93fd68d51a66ac4c158c000333ae18.tar.gz
compcert-20b311376d93fd68d51a66ac4c158c000333ae18.zip
Revert "Added support for the location of non static global variables."
This reverts commit b4846ffadfa3fbb73ffa7d9c43e5218adeece8da.
Diffstat (limited to 'debug/CtoDwarf.ml')
-rw-r--r--debug/CtoDwarf.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/CtoDwarf.ml b/debug/CtoDwarf.ml
index 103849d0..753f4cdd 100644
--- a/debug/CtoDwarf.ml
+++ b/debug/CtoDwarf.ml
@@ -308,7 +308,7 @@ let glob_var_to_dwarf (s,n,t,_) gloc =
variable_file_loc = (Some gloc);
variable_declaration = Some at_decl;
variable_external = Some ext;
- variable_location = if ext then Some (LocSymbol n.name) else None;
+ variable_location = None;
variable_name = n.name;
variable_segment = None;
variable_type = i;