aboutsummaryrefslogtreecommitdiffstats
path: root/backend
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@college-de-france.fr>2019-04-23 13:42:36 +0200
committerXavier Leroy <xavier.leroy@college-de-france.fr>2019-04-23 13:42:36 +0200
commit23f871b3faf89679414485c438ed211151bd99ce (patch)
treeb1a3c480ca621b8c7dfecb430507e5ca0e72e88b /backend
parent04b822ca7eaf59a967b9b8f700104b78e77e5c98 (diff)
parent65ac4adf1fb1c2642a8e69d098049dfa2ab90e92 (diff)
downloadcompcert-23f871b3faf89679414485c438ed211151bd99ce.tar.gz
compcert-23f871b3faf89679414485c438ed211151bd99ce.zip
Problems with Dwarf ranges (#159)
Merge of branch dwarf-ranges
Diffstat (limited to 'backend')
-rw-r--r--backend/PrintAsm.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/backend/PrintAsm.ml b/backend/PrintAsm.ml
index 92d465d5..dd428808 100644
--- a/backend/PrintAsm.ml
+++ b/backend/PrintAsm.ml
@@ -40,6 +40,7 @@ module Printer(Target:TARGET) =
let print_function oc name fn =
Hashtbl.clear current_function_labels;
+ Debug.symbol_printed (extern_atom name);
let (text, lit, jmptbl) = Target.get_section_names name in
Target.section oc text;
let alignment =
@@ -117,7 +118,7 @@ module Printer(Target:TARGET) =
match v.gvar_init with
| [] -> ()
| _ ->
- Debug.variable_printed (extern_atom name);
+ Debug.symbol_printed (extern_atom name);
let sec =
match C2C.atom_sections name with
| [s] -> s