summaryrefslogtreecommitdiff
path: root/memcheck/mc_main.c
diff options
context:
space:
mode:
authornjn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9>2006-04-16 10:25:43 +0000
committernjn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9>2006-04-16 10:25:43 +0000
commitca54af3adebe3ff9126ea2c2f6b9a9921269f9c4 (patch)
treee20f5bd9d273fe2bc4a25f8492b95e2f46e50f60 /memcheck/mc_main.c
parenta0d693b676ca016942849cb4243c3bfaae37f9bf (diff)
Remove tool-specific code (which says which tools allow XML) from the core
by introducing a new "need": VG_(needs_xml_output)(). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5854 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'memcheck/mc_main.c')
-rw-r--r--memcheck/mc_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/memcheck/mc_main.c b/memcheck/mc_main.c
index 6286dbde..0ee073b2 100644
--- a/memcheck/mc_main.c
+++ b/memcheck/mc_main.c
@@ -4330,7 +4330,6 @@ static void mc_pre_clo_init(void)
VG_(needs_client_requests) (mc_handle_client_request);
VG_(needs_sanity_checks) (mc_cheap_sanity_check,
mc_expensive_sanity_check);
-
VG_(needs_malloc_replacement) (MC_(malloc),
MC_(__builtin_new),
MC_(__builtin_vec_new),
@@ -4341,6 +4340,7 @@ static void mc_pre_clo_init(void)
MC_(__builtin_vec_delete),
MC_(realloc),
MC_MALLOC_REDZONE_SZB );
+ VG_(needs_xml_output) ();
VG_(track_new_mem_startup) ( mc_new_mem_startup );
VG_(track_new_mem_stack_signal)( MC_(make_mem_undefined) );