aboutsummaryrefslogtreecommitdiffstats
path: root/debug/Debug.mli
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2015-09-22 19:44:47 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2015-09-22 19:44:47 +0200
commitd7f75509c290d871cb8cd8aa11a0be2923c9ef17 (patch)
tree5e1cfd9366ae875a5da7286d1912b7fab7454ce0 /debug/Debug.mli
parent4b9b0e8f988cdfa1f848919b41bfe24c6e9a052a (diff)
downloadcompcert-kvx-d7f75509c290d871cb8cd8aa11a0be2923c9ef17.tar.gz
compcert-kvx-d7f75509c290d871cb8cd8aa11a0be2923c9ef17.zip
Record the scope structure during unblocking.
Instead of creating separate annotations for the local variables we call the Debug.add_lvar_scope and we construct a mapping from function id + scope id to scope information.
Diffstat (limited to 'debug/Debug.mli')
-rw-r--r--debug/Debug.mli5
1 files changed, 3 insertions, 2 deletions
diff --git a/debug/Debug.mli b/debug/Debug.mli
index 087f073f..a7d40382 100644
--- a/debug/Debug.mli
+++ b/debug/Debug.mli
@@ -26,7 +26,8 @@ val insert_global_declaration: Env.t -> globdecl -> unit
val add_fun_addr: atom -> (int * int) -> unit
val generate_debug_info: unit -> dw_entry option
val all_files_iter: (string -> unit) -> unit
-val insert_local_declaration: int -> storage -> ident -> typ -> location -> unit
+val insert_local_declaration: storage -> ident -> typ -> location -> unit
val atom_local_variable: ident -> atom -> unit
-val enter_scope: int -> int -> unit
+val enter_scope: int -> int -> int -> unit
val enter_function_scope: ident -> int -> unit
+val add_lvar_scope: int -> ident -> int -> unit