Coverage Report

Created: 2018-06-21 18:56

/home/travis/build/MoarVM/MoarVM/src/memdebug.h
Line
Count
Source (jump to first uncovered line)
1
#ifdef MVM_VALGRIND_SUPPORT
2
#  include <valgrind/memcheck.h>
3
4
/* The redzone we will put in front of and after every
5
 * allocation from the fixed size allocator */
6
#ifndef MVM_FSA_REDZONE_BYTES
7
#define MVM_FSA_REDZONE_BYTES 4
8
#endif
9
10
#else
11
12
4.54M
#define MVM_FSA_REDZONE_BYTES 0
13
14
#define VALGRIND_CREATE_MEMPOOL(pool, rzB, is_zeroed) do { } while (0)
15
#define VALGRIND_CREATE_MEMPOOL_EXT(pool, rzB, is_zeroed, flags) do { } while (0)
16
0
#define VALGRIND_DESTROY_MEMPOOL(pool)  do { } while (0)
17
2.39M
#define VALGRIND_MEMPOOL_ALLOC(pool, addr, size) do { } while (0)
18
185k
#define VALGRIND_MEMPOOL_FREE(pool, addr) do { } while (0)
19
#define VALGRIND_MOVE_MEMPOOL(poolA, poolB) do { } while (0)
20
185k
#define VALGRIND_MAKE_MEM_DEFINED(addr, size) do { } while (0)
21
#endif