aboutsummaryrefslogtreecommitdiff
path: root/libmudflap/mf-impl.h
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>2006-11-06 18:02:13 +0000
committerFrank Ch. Eigler <fche@gcc.gnu.org>2006-11-06 18:02:13 +0000
commita548d7b75391323fb617554e965311a6897dd6ed (patch)
tree56b8c0aa4258be292832ad52f6e3be9089c63077 /libmudflap/mf-impl.h
parent8f75f38989e10491c8a5fcf0f7ae855b4763afc2 (diff)
downloadgcc-a548d7b75391323fb617554e965311a6897dd6ed.zip
gcc-a548d7b75391323fb617554e965311a6897dd6ed.tar.gz
gcc-a548d7b75391323fb617554e965311a6897dd6ed.tar.bz2
configure.ac (__libc_freeres): Look for it.
2006-11-06 Frank Ch. Eigler <fche@redhat.com> * configure.ac (__libc_freeres): Look for it. * mf-impl.h (call_libc_freeres): New configuration flag. * mf-runtime.c (__mf_set_default_options): Set it by default. (__mfu_report): Call it if needed. (__mfu_unregister): Remove "unaccessed registered object" warning. * configure, config.h.in: Regenerated. From-SVN: r118523
Diffstat (limited to 'libmudflap/mf-impl.h')
-rw-r--r--libmudflap/mf-impl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libmudflap/mf-impl.h b/libmudflap/mf-impl.h
index e61f4b7..728a58b 100644
--- a/libmudflap/mf-impl.h
+++ b/libmudflap/mf-impl.h
@@ -134,6 +134,11 @@ struct __mf_options
/* Print list of leaked heap objects on shutdown. */
unsigned print_leaks;
+#ifdef HAVE___LIBC_FREERES
+ /* Call __libc_freeres before leak analysis. */
+ unsigned call_libc_freeres;
+#endif
+
/* Detect reads of uninitialized objects. */
unsigned check_initialization;