]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Move VG_BUGS_TO to pub_tool_basics.h so that Nulgrind need not import
authorNicholas Nethercote <njn@valgrind.org>
Wed, 18 Oct 2006 21:50:26 +0000 (21:50 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Wed, 18 Oct 2006 21:50:26 +0000 (21:50 +0000)
pub_tool_libcassert.h.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6320

Makefile.am
configure.in
include/pub_tool_tooliface.h
include/valgrind.h

index b6612e72c21d92bc67e76b5a6e7bfa443245cba6..fee978562341c11b19a9f11af467430d6b3e100e 100644 (file)
@@ -8,7 +8,8 @@ TOOLS =         memcheck \
                callgrind \
                massif \
                lackey \
-               none
+               none \
+               memtrace
 
 # Temporary: we want to compile Helgrind, but not regtest it.
 # Put docs last because building the HTML is slow and we want to get
index f625a9ef51fd28b7b91f115edc8635c1f2cdf270..34830a0ea4539b174d701f6718834a30233d83c8 100644 (file)
@@ -931,6 +931,9 @@ AC_OUTPUT(
    none/tests/ppc64/Makefile
    none/tests/x86/Makefile
    none/docs/Makefile
+   memtrace/Makefile
+   memtrace/tests/Makefile
+   memtrace/docs/Makefile
 ) 
 
 cat<<EOF
index 89128b2f3ed3c460b8c9a1e4051c35433a5fff73..c28010d4abb536d3bc9f84152ed29e1be9d51909 100644 (file)
@@ -32,7 +32,7 @@
 #define __PUB_TOOL_TOOLIFACE_H
 
 #include "pub_tool_errormgr.h"   // for Error, Supp
-#include "libvex.h"              // for VexGuestLayout
+#include "libvex.h"              // for all Vex stuff
 
 /* ------------------------------------------------------------------ */
 /* The interface version */
index ae82e25c907f3bfdd22b7daeaa979d5cf2681c24..dafc0d910e1c027bf2e5f38241acd4d151b01117 100644 (file)
@@ -3715,15 +3715,15 @@ VALGRIND_PRINTF_BACKTRACE(const char *format, ...)
    for calloc().  Put it immediately after the point where a block is
    allocated. 
    
-   If you're allocating memory via superblocks, and then handing out small
-   chunks of each superblock, if you don't have redzones on your small
-   blocks, it's worth marking the superblock with VALGRIND_MAKE_MEM_NOACCESS
-   when it's created, so that block overruns are detected.  But if you can
-   put redzones on, it's probably better to not do this, so that messages
-   for small overruns are described in terms of the small block rather than
-   the superblock (but if you have a big overrun that skips over a redzone,
-   you could miss an error this way).  See memcheck/tests/custom_alloc.c
-   for an example.
+   If you're using Memcheck: If you're allocating memory via superblocks,
+   and then handing out small chunks of each superblock, if you don't have
+   redzones on your small blocks, it's worth marking the superblock with
+   VALGRIND_MAKE_MEM_NOACCESS when it's created, so that block overruns are
+   detected.  But if you can put redzones on, it's probably better to not do
+   this, so that messages for small overruns are described in terms of the
+   small block rather than the superblock (but if you have a big overrun
+   that skips over a redzone, you could miss an error this way).  See
+   memcheck/tests/custom_alloc.c for an example.
 
    WARNING: if your allocator uses malloc() or 'new' to allocate
    superblocks, rather than mmap() or brk(), this will not work properly --