diff options
author | fche <fche@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-06 18:02:13 +0000 |
---|---|---|
committer | fche <fche@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-06 18:02:13 +0000 |
commit | c24099f82007f9c17e03be2191dd2356b35f851d (patch) | |
tree | 56b8c0aa4258be292832ad52f6e3be9089c63077 /libmudflap/mf-impl.h | |
parent | 28e7852b5e79f07db9853d448431bd98101376d3 (diff) | |
download | gcc-c24099f82007f9c17e03be2191dd2356b35f851d.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118523 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libmudflap/mf-impl.h')
-rw-r--r-- | libmudflap/mf-impl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libmudflap/mf-impl.h b/libmudflap/mf-impl.h index e61f4b7a85a..728a58bc05d 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; |