gcc/libmudflap/testsuite/libmudflap.c
James E Wilson 2483ad581a Fix FreeBSD failure with recursive malloc call.
* mf-hooks1.c (malloc, calloc, realloc, free,
__mf_wrap_alloca_indirect): Call BEGIN_MALLOC_PROTECT before calling
the real routines, and END_MALLOC_PROTECT afterwards.
* mf-impl.h (enum __mf_state_enum): Expand comment.  Add in_malloc.
(BEGIN_PROTECT): Handle in_malloc state.
(BEGIN_MALLOC_PROTECT, END_MALLOC_PROTECT): New.
* testsuite/libmudflap.c/hook2-allocstuff.c: New.

From-SVN: r103256
2005-08-18 13:01:54 -07:00
..
cfrags.exp re PR libmudflap/21023 (mudflap reports errors for external array variable with no size specified) 2005-06-14 19:12:24 +00:00
externs-1.c * testsuite/libmudflap.c/externs-1.c (main): Add return statement. 2005-06-19 16:01:03 +00:00
externs-2.c re PR libmudflap/21023 (mudflap reports errors for external array variable with no size specified) 2005-06-14 19:12:24 +00:00
externs.exp re PR libmudflap/21023 (mudflap reports errors for external array variable with no size specified) 2005-06-14 19:12:24 +00:00
fail1-frag.c
fail2-frag.c
fail3-frag.c
fail4-frag.c
fail5-frag.c
fail6-frag.c
fail7-frag.c
fail8-frag.c
fail9-frag.c
fail10-frag.c
fail11-frag.c
fail12-frag.c
fail13-frag.c
fail14-frag.c
fail15-frag.c
fail16-frag.c
fail17-frag.c
fail18-frag.c Adopt splay trees for object database. 2004-06-24 21:12:18 +00:00
fail19-frag.c
fail20-frag.c
fail21-frag.c
fail22-frag.c
fail23-frag.c
fail25-frag.c
fail26-frag.c
fail27-frag.c
fail28-frag.c
fail29-frag.c
fail30-frag.c
fail31-frag.c
fail32-frag.c configure.ac: Look for pwd.h, grp.h, netdb.h headers and functions. 2004-09-07 21:52:52 +00:00
fail33-frag.c * fixing typos in accidental checkin 2004-10-03 21:17:29 +00:00
fail34-frag.c tree-mudflap.c (mf_build_check_statement_for): Reorganize to take check-base and -limit arguments. 2004-10-02 23:12:49 +00:00
fail35-frag.c fail35-,pass53-,pass54-frag.c: New tests. 2004-10-28 21:21:59 +00:00
fail36-frag.c mf-impl.h (uintptr_t): Get typedef via stdint.h or define explicitly. 2005-01-02 22:24:50 +00:00
fail37-frag.c mf-impl.h (uintptr_t): Get typedef via stdint.h or define explicitly. 2005-01-02 22:24:50 +00:00
fail38-frag.c mf-impl.h (uintptr_t): Get typedef via stdint.h or define explicitly. 2005-01-02 22:24:50 +00:00
fail39-frag.c mf-runtime.c (__mfu_check): Respect ignore_reads configuration. 2005-03-17 17:20:49 +00:00
fail40-frag.c Fix for uncaching bug reported by Herman ten Brugge. 2005-06-15 16:15:40 +00:00
heap-scalestress.c ANSI C conversion, libmudflap specialization, recursion limiting. 2004-07-08 19:11:44 +00:00
hook2-allocstuff.c Fix FreeBSD failure with recursive malloc call. 2005-08-18 13:01:54 -07:00
hook-allocstuff.c
pass1-frag.c
pass2-frag.c
pass3-frag.c
pass4-frag.c
pass5-frag.c
pass6-frag.c
pass7-frag.c
pass8-frag.c
pass9-frag.c
pass10-frag.c
pass11-frag.c
pass12-frag.c
pass13-frag.c
pass14-frag.c
pass15-frag.c
pass16-frag.c
pass17-frag.c
pass18-frag.c
pass19-frag.c
pass20-frag.c
pass21-frag.c
pass22-frag.c
pass23-frag.c
pass24-frag.c
pass25-frag.c
pass26-frag.c
pass29-frag.c
pass30-frag.c
pass32-frag.c * testsuite/libmudflap.c/pass32-frag.c: Fix typo. 2005-01-05 01:27:50 -08:00
pass33-frag.c
pass34-frag.c
pass35-frag.c fail35-,pass53-,pass54-frag.c: New tests. 2004-10-28 21:21:59 +00:00
pass36-frag.c
pass38-frag.c
pass42-frag.c
pass43-frag.c
pass44-frag.c
pass45-frag.c
pass46-frag.c Portability improvements, e.g., libmudflap/15293. 2004-06-04 20:12:01 +00:00
pass47-frag.c ctype support. 2004-06-09 19:04:56 +00:00
pass48-frag.c configure.ac: Look for pwd.h, grp.h, netdb.h headers and functions. 2004-09-07 21:52:52 +00:00
pass49-frag.c configure.ac: Look for pwd.h, grp.h, netdb.h headers and functions. 2004-09-07 21:52:52 +00:00
pass50-frag.c tree-mudflap.c (mf_build_check_statement_for): Reorganize to take check-base and -limit arguments. 2004-10-02 23:12:49 +00:00
pass51-frag.c configure.ac: Check for more headers, functions. 2004-10-13 18:27:16 +00:00
pass52-frag.c configure.ac: Check for more headers, functions. 2004-10-13 18:27:16 +00:00
pass53-frag.c fail35-,pass53-,pass54-frag.c: New tests. 2004-10-28 21:21:59 +00:00
pass54-frag.c fail35-,pass53-,pass54-frag.c: New tests. 2004-10-28 21:21:59 +00:00
pass56-frag.c mf-runtime.c (__mfu_check): Respect ignore_reads configuration. 2005-03-17 17:20:49 +00:00
pass-stratcliff.c All files: Update FSF address. 2005-08-17 03:21:42 +00:00