diff options
| author | Chris Lattner <sabre@nondot.org> | 2005-11-14 07:24:17 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2005-11-14 07:24:17 +0000 |
| commit | 58cee558fe53411b09a302360ab2cb3bb77da6dc (patch) | |
| tree | e46391c17023ccbde3a1a65e4d32bbb78065c121 | |
| parent | 698fa760f4c314bf6e12e73d6b41cbe1d3f9f52b (diff) | |
| download | bcm5719-llvm-58cee558fe53411b09a302360ab2cb3bb77da6dc.tar.gz bcm5719-llvm-58cee558fe53411b09a302360ab2cb3bb77da6dc.zip | |
add malloc_zone_statistics, remove mstats
llvm-svn: 24350
| -rw-r--r-- | llvm/autoconf/configure.ac | 2 | ||||
| -rw-r--r-- | llvm/include/llvm/Config/config.h.in | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/llvm/autoconf/configure.ac b/llvm/autoconf/configure.ac index 028872cf9e0..981651c9fbf 100644 --- a/llvm/autoconf/configure.ac +++ b/llvm/autoconf/configure.ac @@ -516,7 +516,7 @@ dnl===-----------------------------------------------------------------------=== AC_CHECK_FUNCS([backtrace getcwd getpagesize getrusage gettimeofday ]) AC_CHECK_FUNCS([isatty mkdtemp mkstemp mktemp ]) AC_CHECK_FUNCS([realpath sbrk setrlimit strdup strerror strerror_r ]) -AC_CHECK_FUNCS([strtoll strtoq sysconf mstats ]) +AC_CHECK_FUNCS([strtoll strtoq sysconf malloc_zone_statistics ]) AC_C_PRINTF_A AC_FUNC_ALLOCA AC_FUNC_RAND48 diff --git a/llvm/include/llvm/Config/config.h.in b/llvm/include/llvm/Config/config.h.in index 17e3be2154e..0a9bffa18b0 100644 --- a/llvm/include/llvm/Config/config.h.in +++ b/llvm/include/llvm/Config/config.h.in @@ -188,6 +188,9 @@ /* Define to 1 if you have the <malloc/malloc.h> header file. */ #undef HAVE_MALLOC_MALLOC_H +/* Define to 1 if you have the `malloc_zone_statistics' function. */ +#undef HAVE_MALLOC_ZONE_STATISTICS + /* Define to 1 if you have the `memcpy' function. */ #undef HAVE_MEMCPY @@ -216,9 +219,6 @@ /* Define if mmap() can map files into memory */ #undef HAVE_MMAP_FILE -/* Define to 1 if you have the `mstats' function. */ -#undef HAVE_MSTATS - /* define if the compiler implements namespaces */ #undef HAVE_NAMESPACES |

