aboutsummaryrefslogtreecommitdiff
path: root/libmudflap/mf-impl.h
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>2004-06-24 21:12:18 +0000
committerFrank Ch. Eigler <fche@redhat.com>2004-06-24 21:12:18 +0000
commite65751a84979a4003e847024c0c1734433a795b9 (patch)
treeb11f74e9117eab25751541c23cf9a481cd239e29 /libmudflap/mf-impl.h
parent66323722c838f9e437b1248066d67f8809174cc9 (diff)
2004-06-24 Frank Ch. Eigler <fche@redhat.com>
Adopt splay trees for object database. * Makefile.am: Copy splay-tree.* from libiberty. * Makefile.in, testsuite/Makefile.in: Regenerated. * mf-runtime.h.in (__mf_unregister): Add third parameter (type). * mf-hooks[123].c (*): Add new third parameter to mf_unregister. * mf-impl.h (BEGIN_PROTECT): Remove some trace text. * mf-runtime.c: Rewrite code dealing with object database to use libiberty splay trees. Remove tree liveness aging option. * testsuite/libmudflap.c/fail18-frag.c: Add volatile flag. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@83611 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libmudflap/mf-impl.h')
-rw-r--r--libmudflap/mf-impl.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/libmudflap/mf-impl.h b/libmudflap/mf-impl.h
index 05120bfe4b6..ef962bfaf01 100644
--- a/libmudflap/mf-impl.h
+++ b/libmudflap/mf-impl.h
@@ -365,10 +365,6 @@ ret __mfwrap_ ## fname (__VA_ARGS__)
else if (UNLIKELY (__mf_state == reentrant)) \
{ \
extern unsigned long __mf_reentrancy; \
- if (UNLIKELY (__mf_opts.verbose_trace)) { \
- write (2, "mf: reentrancy detected in `", 28); \
- write (2, __PRETTY_FUNCTION__, strlen(__PRETTY_FUNCTION__)); \
- write (2, "'\n", 2); } \
__mf_reentrancy ++; \
return CALL_REAL(fname, __VA_ARGS__); \
} \
@@ -381,7 +377,7 @@ ret __mfwrap_ ## fname (__VA_ARGS__)
/* Unlocked variants of main entry points from mf-runtime.h. */
extern void __mfu_check (void *ptr, size_t sz, int type, const char *location);
extern void __mfu_register (void *ptr, size_t sz, int type, const char *name);
-extern void __mfu_unregister (void *ptr, size_t sz);
+extern void __mfu_unregister (void *ptr, size_t sz, int type);
extern void __mfu_report ();
extern int __mfu_set_options (const char *opts);