aboutsummaryrefslogtreecommitdiffstats
path: root/debug/DebugInit.ml
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/DebugInit.ml
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/DebugInit.ml')
-rw-r--r--debug/DebugInit.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/debug/DebugInit.ml b/debug/DebugInit.ml
index 455112ed..17a90536 100644
--- a/debug/DebugInit.ml
+++ b/debug/DebugInit.ml
@@ -45,6 +45,7 @@ let default_debug =
compute_gnu_file_enum = DebugInformation.compute_gnu_file_enum;
exists_section = DebugInformation.exists_section;
remove_unused = DebugInformation.remove_unused;
+ remove_unused_function = DebugInformation.remove_unused_function;
variable_printed = DebugInformation.variable_printed;
add_diab_info = (fun _ _ _ _ -> ());
}