diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-09-06 20:32:55 +0200 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-09-06 20:32:55 +0200 |
commit | 861292a6c5e58b4f78bef207c717b801b3fc1fed (patch) | |
tree | 970be0db2fb62e66b09c4fb90b2e750c255565e0 /backend/PrintAsm.ml | |
parent | dba05a9f6259c82a350987b511bf1a71f113d0ba (diff) | |
download | compcert-861292a6c5e58b4f78bef207c717b801b3fc1fed.tar.gz compcert-861292a6c5e58b4f78bef207c717b801b3fc1fed.zip |
Startet implementation of new Debug interface.
Added a new file debug/Debug.ml which will be the interface between for
generating and printing the debuging information. Currently it contains
only the code for the line directived.
Diffstat (limited to 'backend/PrintAsm.ml')
-rw-r--r-- | backend/PrintAsm.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/PrintAsm.ml b/backend/PrintAsm.ml index 29409b32..b88a3d50 100644 --- a/backend/PrintAsm.ml +++ b/backend/PrintAsm.ml @@ -134,12 +134,12 @@ 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 (); + Debug.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 (); + Debug.close_filenames (); if !Clflags.option_g && Configuration.advanced_debug then begin match db with |