[Support/Timer] Make GetMallocUsage() aware of jemalloc.
[oota-llvm.git] / cmake / config-ix.cmake
index 50f5859b34d85dd1cf3289cfbb83df84e3d1af65..8b04d087d44ebd266d71c32f647e97d1bb7faa5d 100755 (executable)
@@ -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)