summaryrefslogtreecommitdiffstats
path: root/libc/bionic/dlmalloc.h
diff options
context:
space:
mode:
authorVladimir Chtchetkine <vchtchetkine@google.com>2009-11-17 14:13:38 -0800
committerVladimir Chtchetkine <vchtchetkine@google.com>2009-11-18 10:36:25 -0800
commitb74ceb25aae555570df64fa4d4076272733a9a20 (patch)
tree3bf49e716722b67f4b0f0bcb391156bf29fa6ad0 /libc/bionic/dlmalloc.h
parente8870ffc965d553a885f63b26e724da279728b72 (diff)
downloadbionic-b74ceb25aae555570df64fa4d4076272733a9a20.zip
bionic-b74ceb25aae555570df64fa4d4076272733a9a20.tar.gz
bionic-b74ceb25aae555570df64fa4d4076272733a9a20.tar.bz2
Split libc_debug.so into two .so modules loaded on demand from libc.so
This change is intended to eliminate need to replace libc.so with libc_debug.so in order to enablememory allocation debugging. This is also the first step towards implementing extended memoryallocation debugging using emulator's capabilities in monitoring memory access.
Diffstat (limited to 'libc/bionic/dlmalloc.h')
-rw-r--r--libc/bionic/dlmalloc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/bionic/dlmalloc.h b/libc/bionic/dlmalloc.h
index e5f7d4a..1b642d2 100644
--- a/libc/bionic/dlmalloc.h
+++ b/libc/bionic/dlmalloc.h
@@ -1,14 +1,14 @@
/*
Default header file for malloc-2.8.x, written by Doug Lea
and released to the public domain, as explained at
- http://creativecommons.org/licenses/publicdomain.
-
+ http://creativecommons.org/licenses/publicdomain.
+
last update: Mon Aug 15 08:55:52 2005 Doug Lea (dl at gee)
This header is for ANSI C/C++ only. You can set any of
the following #defines before including:
- * If USE_DL_PREFIX is defined, it is assumed that malloc.c
+ * If USE_DL_PREFIX is defined, it is assumed that malloc.c
was also compiled with this option, so all routines
have names starting with "dl".
@@ -34,7 +34,7 @@ extern "C" {
#if !ONLY_MSPACES
/* Check an additional macro for the five primary functions */
-#if !defined(USE_DL_PREFIX) || !defined(MALLOC_LEAK_CHECK)
+#if !defined(USE_DL_PREFIX)
#define dlcalloc calloc
#define dlfree free
#define dlmalloc malloc