From eaf4bab84af4b3db1ca9c6785ed803bbbd61b9a7 Mon Sep 17 00:00:00 2001 From: Bernhard Schommer Date: Thu, 1 Oct 2015 12:19:16 +0200 Subject: Only print locations for symbols that are present in the assembler. --- debug/DebugInit.ml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'debug/DebugInit.ml') 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 -- cgit