1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-30 11:22:14 +03:00
Files
mariadb/mysys
Marko Mäkelä 98406ba452 Bug#53593: Add some instrumentation to improve Valgrind sensitivity
BUILD/*: Add valgrind_configs=--with-valgrind.
BUILD/*: Remove -USAFEMALLOC from valgrind_flags.

configure.in: Add AC_ARG_WITH(valgrind) and HAVE_VALGRIND.

include/my_sys.h: Define a number of MEM_ wrappers for VALGRIND_ functions.
include/my_sys.h: Make TRASH do MEM_UNDEFINED().

include/m_string.h: Remove unused macro bzero_if_purify(A,B).

_mymalloc(): Declare MEM_UNDEFINED() on the allocated memory.

_myfree(): Declare MEM_NOACCESS() on the freed memory.

storage/innobase/include/univ.i: Enable UNIV_DEBUG_VALGRIND based on
HAVE_VALGRIND rather than HAVE_purify.

Possible things to do:
 * In my_global.h, remove the defined(HAVE_purify) condition
   from the _WIN32 uint3korr().
 * In my_global.h *int*korr(), use | instead of +
   in order to keep the Valgrind V bits accurate
 * Consider replacing HAVE_purify with HAVE_VALGRIND
 * Use VALGRIND_CREATE_BLOCK, VALGRIND_DISCARD in mem_root and similar places
2010-05-20 13:40:42 +03:00
..
2010-03-22 16:27:59 +04:00
2010-02-04 13:39:42 +01:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2009-05-13 08:48:00 -07:00
2009-09-02 09:12:18 -03:00
2010-05-05 11:54:52 +03:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2006-12-31 01:02:27 +01:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2007-03-22 20:32:07 +02:00
2009-03-17 15:43:00 -04:00
2007-08-09 14:56:57 +02:00
2006-12-27 02:23:51 +01:00
2006-12-23 20:17:15 +01:00
2010-05-05 11:54:52 +03:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2006-12-31 01:02:27 +01:00
2009-03-17 16:29:24 -04:00
2007-07-30 20:40:49 +02:00
2009-09-02 15:33:18 +03:00
2009-09-29 17:38:40 +02:00
2009-10-06 09:40:30 +02:00
2006-12-31 01:02:27 +01:00
2009-12-06 19:01:11 +01:00
2007-08-15 17:43:08 +04:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2008-04-28 13:41:12 -04:00
2009-09-29 17:38:40 +02:00
2006-12-23 20:17:15 +01:00
2009-11-05 21:22:17 +01:00