diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-10-02 16:24:01 +0200 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-10-02 16:24:01 +0200 |
commit | 2bfa77d9eb3940b9b46865f7ebe760365164d312 (patch) | |
tree | d39bdaaa046c817f547ad6a04af0b83878176b06 /backend/PrintAsm.ml | |
parent | a0bef6920c64f2d0e51d4bdce2f08c927373fb66 (diff) | |
download | compcert-kvx-2bfa77d9eb3940b9b46865f7ebe760365164d312.tar.gz compcert-kvx-2bfa77d9eb3940b9b46865f7ebe760365164d312.zip |
First try of debug information for gcc.
Diffstat (limited to 'backend/PrintAsm.ml')
-rw-r--r-- | backend/PrintAsm.ml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/PrintAsm.ml b/backend/PrintAsm.ml index dba578b9..594b43b7 100644 --- a/backend/PrintAsm.ml +++ b/backend/PrintAsm.ml @@ -122,12 +122,11 @@ module Printer(Target:TARGET) = let print_program oc p db = let module Target = (val (sel_target ()):TARGET) in let module Printer = Printer(Target) in - reset_filenames (); + Fileinfo.reset_filenames (); print_version_and_options oc Target.comment; Target.print_prologue oc; List.iter (Printer.print_globdef oc) p.prog_defs; Target.print_epilogue oc; - close_filenames (); if !Clflags.option_g && Configuration.advanced_debug then begin let atom_to_s s = @@ -141,4 +140,5 @@ let print_program oc p db = | None -> () | Some db -> Printer.DebugPrinter.print_debug oc db - end + end; + Fileinfo.close_filenames () |