summaryrefslogtreecommitdiff
path: root/massif
diff options
context:
space:
mode:
authornjn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9>2005-06-21 03:20:17 +0000
committernjn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9>2005-06-21 03:20:17 +0000
commitfc51f8d9538eda285c2ea0974f29b075168f3433 (patch)
treefd523124f49e6cd89619ca642d4130f56c8de101 /massif
parent64c8324704d2e0e24e708591edf9939f08cfed0a (diff)
Malloc replacement worked very much like a 'need', but wasn't one.
I've changed it so it now is, which makes it consistent with the other 'needs'. Because of this, I was also able to invert the dependence between m_mallocfree and m_tooliface, which is related to setting the redzone size for client heap blocks. As a result, m_tooliface now doesn't depend on anything except pub_core_basics.h, hooray! git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3979 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'massif')
-rw-r--r--massif/ms_main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/massif/ms_main.c b/massif/ms_main.c
index 18890a1f..16f387d4 100644
--- a/massif/ms_main.c
+++ b/massif/ms_main.c
@@ -1802,9 +1802,7 @@ static void ms_pre_clo_init()
ms_print_usage,
ms_print_debug_usage);
VG_(needs_client_requests) (ms_handle_client_request);
-
- // Malloc replacement
- VG_(malloc_funcs) (ms_malloc,
+ VG_(needs_malloc_replacement) (ms_malloc,
ms___builtin_new,
ms___builtin_vec_new,
ms_memalign,