From 34cc6a603f34a430fc3b9a7071dcc1e19b2b7250 Mon Sep 17 00:00:00 2001 From: Bernhard Schommer Date: Sun, 4 Oct 2015 22:15:20 +0200 Subject: Ensure that there are file directives for all files used in the debug information. --- debug/DebugInit.ml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'debug/DebugInit.ml') diff --git a/debug/DebugInit.ml b/debug/DebugInit.ml index 5aac6566..7ee56ff1 100644 --- a/debug/DebugInit.ml +++ b/debug/DebugInit.ml @@ -48,7 +48,8 @@ let init_debug () = implem.atom_parameter <- DebugInformation.atom_parameter; implem.add_compilation_section_start <- DebugInformation.add_compilation_section_start; implem.add_compilation_section_end <- DebugInformation.add_compilation_section_end; - implem.compute_file_enum <- DebugInformation.compute_file_enum; + implem.compute_diab_file_enum <- DebugInformation.compute_diab_file_enum; + implem.compute_gnu_file_enum <- DebugInformation.compute_gnu_file_enum; implem.exists_section <- DebugInformation.exists_section; implem.remove_unused <- DebugInformation.remove_unused; implem.variable_printed <- DebugInformation.variable_printed; @@ -80,6 +81,8 @@ let init_none () = implem.atom_parameter <- (fun _ _ _ -> ()); implem.add_compilation_section_start <- (fun _ _ -> ()); implem.add_compilation_section_end <- (fun _ _ -> ()); + implem.compute_diab_file_enum <- (fun _ _ _ -> ()); + implem.compute_gnu_file_enum <- (fun _ -> ()); implem.exists_section <- (fun _ -> true); implem.remove_unused <- (fun _ -> ()); implem.variable_printed <- (fun _ -> ()); -- cgit