augment comment

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4939
This commit is contained in:
Nicholas Nethercote 2005-10-16 17:48:09 +00:00
parent c0c5256036
commit b32a66a35f

View File

@ -262,7 +262,9 @@ extern void VG_(needs_data_syms) ( void );
/* Does the tool need shadow memory allocated? */ /* Does the tool need shadow memory allocated? */
extern void VG_(needs_shadow_memory)( void ); extern void VG_(needs_shadow_memory)( void );
/* Does the tool replace malloc() and friends with its own versions? */ /* Does the tool replace malloc() and friends with its own versions?
This has to be combined with the use of a vgpreload_<tool>.so module
or it won't work. See massif/Makefile.am for how to build it. */
// The 'p' prefix avoids GCC complaints about overshadowing global names. // The 'p' prefix avoids GCC complaints about overshadowing global names.
extern void VG_(needs_malloc_replacement)( extern void VG_(needs_malloc_replacement)(
void* (*pmalloc) ( ThreadId tid, SizeT n ), void* (*pmalloc) ( ThreadId tid, SizeT n ),