diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-10-04 22:15:20 +0200 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-10-04 22:15:20 +0200 |
commit | 34cc6a603f34a430fc3b9a7071dcc1e19b2b7250 (patch) | |
tree | 2bc811f0893b7925164f70e0b284ea6061aca36c /debug/DebugInit.ml | |
parent | 57fceab9ba11cb98635236f31c85ca976ca7f48c (diff) | |
download | compcert-kvx-34cc6a603f34a430fc3b9a7071dcc1e19b2b7250.tar.gz compcert-kvx-34cc6a603f34a430fc3b9a7071dcc1e19b2b7250.zip |
Ensure that there are file directives for all files used in the debug
information.
Diffstat (limited to 'debug/DebugInit.ml')
-rw-r--r-- | debug/DebugInit.ml | 5 |
1 files changed, 4 insertions, 1 deletions
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 _ -> ()); |