summaryrefslogtreecommitdiff
path: root/autoconf
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@google.com>2010-03-15 04:57:55 +0000
committerJeffrey Yasskin <jyasskin@google.com>2010-03-15 04:57:55 +0000
commitf28411f732960981f8920195ad8f7e6792396961 (patch)
tree92cc2bde87b08aba5eb01639b253601ac6d30fd8 /autoconf
parent0cec9c85ee0cf2a2eea34792424bf9b6874a0b63 (diff)
downloadllvm-f28411f732960981f8920195ad8f7e6792396961.tar.gz
llvm-f28411f732960981f8920195ad8f7e6792396961.tar.bz2
llvm-f28411f732960981f8920195ad8f7e6792396961.tar.xz
Tell Valgrind when we modify already-executed machine code so it knows
to re-instrument the code. We depend on the system valgrind.h to avoid adding a new license. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98529 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index a5cb788b2a..22f15b7feb 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -1210,6 +1210,7 @@ AC_CHECK_HEADERS([malloc.h setjmp.h signal.h stdint.h termios.h unistd.h])
AC_CHECK_HEADERS([utime.h windows.h])
AC_CHECK_HEADERS([sys/mman.h sys/param.h sys/resource.h sys/time.h])
AC_CHECK_HEADERS([sys/types.h sys/ioctl.h malloc/malloc.h mach/mach.h])
+AC_CHECK_HEADERS([valgrind/valgrind.h])
if test "$ENABLE_THREADS" -eq 1 ; then
AC_CHECK_HEADERS(pthread.h,
AC_SUBST(HAVE_PTHREAD, 1),