aboutsummaryrefslogtreecommitdiffstats
path: root/debug/DebugInit.ml
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2015-10-01 12:19:16 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2015-10-01 12:19:16 +0200
commiteaf4bab84af4b3db1ca9c6785ed803bbbd61b9a7 (patch)
treef6233fc2272d6495ec22afafd5ef5534ba32df44 /debug/DebugInit.ml
parent06a1a35d759dc780e389218b5f78ce3415d4b3cd (diff)
downloadcompcert-kvx-eaf4bab84af4b3db1ca9c6785ed803bbbd61b9a7.tar.gz
compcert-kvx-eaf4bab84af4b3db1ca9c6785ed803bbbd61b9a7.zip
Only print locations for symbols that are present in the assembler.
Diffstat (limited to 'debug/DebugInit.ml')
-rw-r--r--debug/DebugInit.ml6
1 files changed, 4 insertions, 2 deletions
diff --git a/debug/DebugInit.ml b/debug/DebugInit.ml
index 8c74e38e..d3ce8d18 100644
--- a/debug/DebugInit.ml
+++ b/debug/DebugInit.ml
@@ -45,7 +45,8 @@ let init_debug () =
implem.add_compilation_section_start <- DebugInformation.add_compilation_section_start;
implem.compute_file_enum <- DebugInformation.compute_file_enum;
implem.exists_section <- DebugInformation.exists_section;
- implem.remove_unused <- DebugInformation.remove_unused
+ implem.remove_unused <- DebugInformation.remove_unused;
+ implem.variable_printed <- DebugInformation.variable_printed
let init_none () =
implem.init <- (fun _ -> ());
@@ -73,7 +74,8 @@ let init_none () =
implem.atom_parameter <- (fun _ _ _ -> ());
implem.add_compilation_section_start <- (fun _ _ -> ());
implem.exists_section <- (fun _ -> true);
- implem.remove_unused <- (fun _ -> ())
+ implem.remove_unused <- (fun _ -> ());
+ implem.variable_printed <- (fun _ -> ())
let init () =
if !Clflags.option_g && Configuration.advanced_debug then