aboutsummaryrefslogtreecommitdiffstats
path: root/backend
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2015-03-11 18:02:36 +0100
committerBernhard Schommer <bernhardschommer@gmail.com>2015-03-11 18:02:36 +0100
commita84576b219c797467e480508fc99ba78260062df (patch)
tree8b7d42d170270bb9a7a53be00c63d60591113f9c /backend
parenta6924f1a53c1ab2edeb4df4833cbc341e4f2d256 (diff)
downloadcompcert-kvx-a84576b219c797467e480508fc99ba78260062df.tar.gz
compcert-kvx-a84576b219c797467e480508fc99ba78260062df.zip
Started integrating the debug printing in the common backend_printer.
Diffstat (limited to 'backend')
-rw-r--r--backend/PrintAsm.ml1
-rw-r--r--backend/PrintAsmaux.ml3
2 files changed, 4 insertions, 0 deletions
diff --git a/backend/PrintAsm.ml b/backend/PrintAsm.ml
index a6883339..a48bd910 100644
--- a/backend/PrintAsm.ml
+++ b/backend/PrintAsm.ml
@@ -15,6 +15,7 @@ open AST
open Asm
open Camlcoq
open Datatypes
+open DwarfPrinter
open PrintAsmaux
open Printf
open Sections
diff --git a/backend/PrintAsmaux.ml b/backend/PrintAsmaux.ml
index 64db2cb0..aa0f4214 100644
--- a/backend/PrintAsmaux.ml
+++ b/backend/PrintAsmaux.ml
@@ -43,6 +43,9 @@ module type TARGET =
val comment: string
val symbol: out_channel -> P.t -> unit
val default_falignment: int
+ val get_start_addr: unit -> int
+ val get_end_addr: unit -> int
+ val get_stmt_list_addr: unit -> int
end
(* On-the-fly label renaming *)