|
From: <sv...@va...> - 2005-03-31 07:59:56
|
Author: tom
Date: 2005-03-31 08:59:35 +0100 (Thu, 31 Mar 2005)
New Revision: 3489
Modified:
trunk/helgrind/hg_main.c
Log:
Update helgrind to use the new mechanism to declare it's interface
routines to the core so that it will at least build.
Modified: trunk/helgrind/hg_main.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/helgrind/hg_main.c 2005-03-31 04:52:26 UTC (rev 3488)
+++ trunk/helgrind/hg_main.c 2005-03-31 07:59:35 UTC (rev 3489)
@@ -1802,10 +1802,7 @@
static Int freechunkptr =3D 0;
static HG_Chunk *freechunks[N_FREED_CHUNKS];
=20
-/* Use a small redzone (paranoia) */
-SizeT VG_(vg_malloc_redzone_szB) =3D 8;
=20
-
/* Allocate a user-chunk of size bytes. Also allocate its shadow
block, make the shadow block point at the user block. Put the
shadow chunk on the appropriate list, and set all memory
@@ -3281,13 +3278,37 @@
VG_(details_bug_reports_to) (VG_BUGS_TO);
VG_(details_avg_translation_sizeB) ( 115 );
=20
- VG_(needs_core_errors)();
- VG_(needs_tool_errors)();
- VG_(needs_data_syms)();
- VG_(needs_client_requests)();
- VG_(needs_command_line_options)();
- VG_(needs_shadow_memory)();
+ VG_(basic_tool_funcs) (TL_(post_clo_init),
+ TL_(instrument),
+ TL_(fini));
=20
+ VG_(needs_core_errors) ();
+ VG_(needs_tool_errors) (TL_(eq_Error),
+ TL_(pp_Error),
+ TL_(update_extra),
+ TL_(recognised_suppression),
+ TL_(read_extra_suppression_info),
+ TL_(error_matches_suppression),
+ TL_(get_error_name),
+ TL_(print_extra_suppression_info));
+ VG_(needs_data_syms) ();
+ VG_(needs_client_requests) (TL_(handle_client_request));
+ VG_(needs_command_line_options)(TL_(process_cmd_line_option),
+ TL_(print_usage),
+ TL_(print_debug_usage));
+ VG_(needs_shadow_memory) ();
+
+ VG_(malloc_funcs) (TL_(malloc),
+ TL_(__builtin_new),
+ TL_(__builtin_vec_new),
+ TL_(memalign),
+ TL_(calloc),
+ TL_(free),
+ TL_(__builtin_delete),
+ TL_(__builtin_vec_delete),
+ TL_(realloc),
+ 8 );
+
VG_(init_new_mem_startup) (& eraser_new_mem_startup);
=20
/* stack ones not decided until VG_(post_clo_init)() */
|
|
From: Nicholas N. <nj...@cs...> - 2005-03-31 14:54:20
|
On Thu, 31 Mar 2005 sv...@va... wrote: > Modified: > trunk/helgrind/hg_main.c > Log: > Update helgrind to use the new mechanism to declare it's interface > routines to the core so that it will at least build. Sorry... I forgot to rerun autoconf/automake... N |