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 /powerpc/TargetPrinter.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 'powerpc/TargetPrinter.ml')
-rw-r--r-- | powerpc/TargetPrinter.ml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/powerpc/TargetPrinter.ml b/powerpc/TargetPrinter.ml index 409f2cc0..5159850d 100644 --- a/powerpc/TargetPrinter.ml +++ b/powerpc/TargetPrinter.ml @@ -21,6 +21,7 @@ open AST open Memdata open Asm open PrintAsmaux +open Debug (* Recognition of target ABI and asm syntax *) @@ -139,7 +140,7 @@ module Linux_System : SYSTEM = let print_file_line oc file line = - print_file_line oc comment file line + Debug.print_file_line oc comment file line (* Emit .cfi directives *) let cfi_startproc = cfi_startproc @@ -217,7 +218,7 @@ module Diab_System : SYSTEM = let print_file_line oc file line = - print_file_line_d2 oc comment file line + Debug.print_file_line_d2 oc comment file line (* Emit .cfi directives *) let cfi_startproc oc = () |