Add a copy of valgrind.h to glib/

This is a BSD-licenced header file that is designed to be copy-pasted
into programs.  It will allow us to detect if we are running under
Valgrind and send "client requests" to it.

We will use this for a couple of reasons in upcoming patches.

https://bugzilla.gnome.org/show_bug.cgi?id=698595
This commit is contained in:
Ryan Lortie 2013-04-22 12:10:35 -04:00
parent c1c1b33f88
commit c8d56d7cf7
2 changed files with 4842 additions and 1 deletions

View File

@ -208,7 +208,8 @@ libglib_2_0_la_SOURCES = \
gwakeup.h \
gwakeup.c \
gprintf.c \
gprintfint.h
gprintfint.h \
valgrind.h
if OS_UNIX
libglib_2_0_la_SOURCES += glib-unix.c

4840
glib/valgrind.h Normal file

File diff suppressed because it is too large Load Diff