summaryrefslogtreecommitdiff
path: root/src/google/tcmalloc.h.in
diff options
context:
space:
mode:
authorcsilvers <csilvers@6b5cf1ce-ec42-a296-1ba9-69fdba395a50>2011-03-02 08:10:05 +0000
committercsilvers <csilvers@6b5cf1ce-ec42-a296-1ba9-69fdba395a50>2011-03-02 08:10:05 +0000
commit75584139e40c9d6c952d9c5339c52e5b58302fc8 (patch)
tree6c36a0e0c71ef75a57b9f8daaf965de781cccdf9 /src/google/tcmalloc.h.in
parentc1abbfae802af5bf949c78e0bfdfd58d5c669a86 (diff)
downloadgperftools-75584139e40c9d6c952d9c5339c52e5b58302fc8.tar.gz
* Enhance cycleclock on ARM v6 and above (sanek)
* Reduce object copying by using a reference (nherring) * Modified lock annotations a bit (lcwu) * Make debugallocation test a bit more forgiving (csilvers) * Count .dll/.dylib as shared libs in heapchecker (csilvers) * Disable sys_futex for arm (sanek) * Don't use macros as much in windows/port.h (andrey.s...) * Update #includes in case malloc.h is in weird places (csilvers) * Turn off some not-so-useful warnings in gcc 4 (csilvers) * Do some casting to make solaris happier about types (csilvers) * Disable debugallocation_test in 'minimal' mode (csilvers) * Rewrite debugallocation to be more modular (csilvers) * We can't run the heap-checker under valgrind (ppluzhnikov) git-svn-id: http://gperftools.googlecode.com/svn/trunk@106 6b5cf1ce-ec42-a296-1ba9-69fdba395a50
Diffstat (limited to 'src/google/tcmalloc.h.in')
-rw-r--r--src/google/tcmalloc.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/tcmalloc.h.in b/src/google/tcmalloc.h.in
index cdaaaa0..d42f4e6 100644
--- a/src/google/tcmalloc.h.in
+++ b/src/google/tcmalloc.h.in
@@ -94,7 +94,7 @@ extern "C" {
// OS X: malloc_size()
// glibc: malloc_usable_size()
// Windows: _msize()
- size_t tc_malloc_size(void* ptr) __THROW;
+ PERFTOOLS_DLL_DECL size_t tc_malloc_size(void* ptr) __THROW;
#ifdef __cplusplus
PERFTOOLS_DLL_DECL int tc_set_new_mode(int flag) __THROW;