This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: --enable-checking=valgrind.
On Mon, Nov 11, 2002 at 04:55:17AM -0500, Hans-Peter Nilsson wrote:
> * cppfiles.c (read_include_file) [ENABLE_VALGRIND]: When doing the
> mmap+1 trick, annotate the byte after the mmap:ed area as readable.
> * configure.in (--enable-checking=valgrind): New.
> * Makefile.in (VALGRIND_PATH, VALGRIND_CMD, VALGRIND_DEFINES):
> New variables.
> (HOST_CFLAGS, ALL_CFLAGS): Add $(VALGRIND_DEFINES).
> (executing gencheck, genconfigs, genconditions, genflags,
> gencodes, genconstants, genemit, genrecog, genopinit, genextract,
> genpeep, genattr, genattrtab, genoutput, gengenrtl, genpreds,
> gengtype, genprotos): Prepend $(VALGRIND_CMD).
> * gcc.c (execute) [ENABLE_VALGRIND]: Arrange to prepend
> $(VALGRIND_PATH) -q to each command.
Ok.
r~