]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Restore ability to run with no instrumentation.
authorJulian Seward <jseward@acm.org>
Thu, 18 Nov 2004 13:44:15 +0000 (13:44 +0000)
committerJulian Seward <jseward@acm.org>
Thu, 18 Nov 2004 13:44:15 +0000 (13:44 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@565

VEX/test_main.c

index 2e5fd30ae99bad8a45d16edb4cc026b1a58f9034..cb77fdb245a3ff29c8e3224af8c32da9f1fb717b 100644 (file)
@@ -125,12 +125,17 @@ int main ( int argc, char** argv )
                  origbuf, (Addr64)orig_addr, chase_into_not_ok,
                  &orig_used,
                  transbuf, N_TRANSBUF, &trans_used,
+#if 1 /* no instrumentation */
+                 NULL,          /* instrument1 */
+                 NULL,          /* instrument2 */
+                False,         /* cleanup after instrument */
+#endif
 #if 0 /* addrcheck */
                  ac_instrument, /* instrument1 */
                  NULL,          /* instrument2 */
                 False,         /* cleanup after instrument */
 #endif
-#if 1 /* memcheck */
+#if 0 /* memcheck */
                  mc_instrument, /* instrument1 */
                  NULL,          /* instrument2 */
                 False,         /* cleanup after instrument */