aboutsummaryrefslogtreecommitdiffstats
path: root/debug
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2015-10-02 09:52:06 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2015-10-02 09:52:06 +0200
commit13b1d1fbe9408659c278696fb6a0eb2f213ea78f (patch)
tree2d55dd551bc1209323ac69d5ea8a67a55e1e2e66 /debug
parent2d96b7927719c3b61fe564e8ab273a1b154912a5 (diff)
downloadcompcert-kvx-13b1d1fbe9408659c278696fb6a0eb2f213ea78f.tar.gz
compcert-kvx-13b1d1fbe9408659c278696fb6a0eb2f213ea78f.zip
Always call print debug_section in the prologue.
Since files without function definition contain no function in the Section_text the filenum would be empty otherwise.
Diffstat (limited to 'debug')
-rw-r--r--debug/DebugInformation.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/DebugInformation.ml b/debug/DebugInformation.ml
index 40cc4060..9100e60b 100644
--- a/debug/DebugInformation.ml
+++ b/debug/DebugInformation.ml
@@ -686,5 +686,5 @@ let init name =
Hashtbl.reset compilation_section_start;
Hashtbl.reset compilation_section_end;
Hashtbl.reset filenum;
- all_files := StringSet.empty;
+ all_files := StringSet.singleton name;
printed_vars := StringSet.empty;