CXXR (C++ R) API
Macros
Rvalgrind.h File Reference

($Id: Rvalgrind.h 749 2010-01-07 18:14:35Z arr $)

Go to the source code of this file.

Macros

#define VALGRIND_LEVEL   0
#define NVALGRIND

Detailed Description

#defines relating to the use of valgrind. CXXR uses environment variables to manage valgrind instrumentation, rather than having this controlled by the configure script. If the NVALGRIND environment variable is defined, all valgrind instrumentation is suppressed; otherwise, the instrumentation level is controlled by the environment variable VALGRIND_LEVEL, as follows:

It may be necessary to define NVALGRIND for a non-gcc compiler on a supported architecture if it has different syntax for inline assembly language from gcc.

For Win32, Valgrind is useful only if running under Wine,