summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2015-02-19 07:27:14 +0000
committerDavide Italiano <davide@freebsd.org>2015-02-19 07:27:14 +0000
commitd6f86b8614613687fd83f9034ff80704722fe5a4 (patch)
tree2a462f76cd96646855d722ac3f16eabc44f60970 /cmake
parent668fc94ea55a31c1971bd23a8f046b829a88fd14 (diff)
[Support/Timer] Make GetMallocUsage() aware of jemalloc.
Differential Revision: D7657 Reviewed by: shankarke, majnemer git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229824 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rwxr-xr-xcmake/config-ix.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index 50f5859b34..8b04d087d4 100755
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -163,6 +163,7 @@ if( HAVE_SYS_UIO_H )
check_symbol_exists(writev sys/uio.h HAVE_WRITEV)
endif()
check_symbol_exists(nearbyintf math.h HAVE_NEARBYINTF)
+check_symbol_exists(mallctl malloc_np.h HAVE_MALLCTL)
check_symbol_exists(mallinfo malloc.h HAVE_MALLINFO)
check_symbol_exists(malloc_zone_statistics malloc/malloc.h
HAVE_MALLOC_ZONE_STATISTICS)