diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-10-02 09:52:06 +0200 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-10-02 09:52:06 +0200 |
commit | 13b1d1fbe9408659c278696fb6a0eb2f213ea78f (patch) | |
tree | 2d55dd551bc1209323ac69d5ea8a67a55e1e2e66 /debug/DebugInformation.ml | |
parent | 2d96b7927719c3b61fe564e8ab273a1b154912a5 (diff) | |
download | compcert-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/DebugInformation.ml')
-rw-r--r-- | debug/DebugInformation.ml | 2 |
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; |