Add test code coverage analysis.

Add test code coverage analysis based on gcov.
This commit is contained in:
Jason Evans
2013-12-06 18:27:33 -08:00
parent d37d5adee4
commit 748dfac778
7 changed files with 127 additions and 10 deletions

View File

@@ -6,8 +6,8 @@
* JEMALLOC_ALWAYS_INLINE_C is for use in .c files, in which case the denoted
* functions are always static, regardless of whether inlining is enabled.
*/
#ifdef JEMALLOC_DEBUG
/* Disable inlining to make debugging easier. */
#if defined(JEMALLOC_DEBUG) || defined(JEMALLOC_CODE_COVERAGE)
/* Disable inlining to make debugging/profiling easier. */
# define JEMALLOC_ALWAYS_INLINE
# define JEMALLOC_ALWAYS_INLINE_C static
# define JEMALLOC_INLINE