aboutsummaryrefslogtreecommitdiffstats
path: root/debug/Debug.mli
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2015-12-03 14:21:39 +0100
committerBernhard Schommer <bernhardschommer@gmail.com>2015-12-03 14:21:39 +0100
commit0ba8c3f06308f8f6a75abe4130972d2cb32a9abe (patch)
tree26c4193fda00d6456c75edf52f76f543036f9972 /debug/Debug.mli
parent05f604d7f6e5ca3a0b005ae7ae1073f2b9e83207 (diff)
downloadcompcert-kvx-0ba8c3f06308f8f6a75abe4130972d2cb32a9abe.tar.gz
compcert-kvx-0ba8c3f06308f8f6a75abe4130972d2cb32a9abe.zip
Fixed regression introduce by merge of PR#69.
Since the identifier of a function definition and of its declaration are equal we only should remove functions if the function iteself is removed. Bug 17724.
Diffstat (limited to 'debug/Debug.mli')
-rw-r--r--debug/Debug.mli2
1 files changed, 2 insertions, 0 deletions
diff --git a/debug/Debug.mli b/debug/Debug.mli
index 614fe84b..387491c2 100644
--- a/debug/Debug.mli
+++ b/debug/Debug.mli
@@ -46,6 +46,7 @@ type implem =
compute_gnu_file_enum: (string -> unit) -> unit;
exists_section: section_name -> bool;
remove_unused: ident -> unit;
+ remove_unused_function: ident -> unit;
variable_printed: string -> unit;
add_diab_info: section_name -> int -> int -> int -> unit;
}
@@ -79,5 +80,6 @@ val compute_diab_file_enum: (section_name -> int) -> (string-> int) -> (unit ->
val compute_gnu_file_enum: (string -> unit) -> unit
val exists_section: section_name -> bool
val remove_unused: ident -> unit
+val remove_unused_function: ident -> unit
val variable_printed: string -> unit
val add_diab_info: section_name -> int -> int -> int -> unit