diff options
author | Jeffrey Yasskin <jyasskin@google.com> | 2010-03-15 04:57:55 +0000 |
---|---|---|
committer | Jeffrey Yasskin <jyasskin@google.com> | 2010-03-15 04:57:55 +0000 |
commit | f28411f732960981f8920195ad8f7e6792396961 (patch) | |
tree | 92cc2bde87b08aba5eb01639b253601ac6d30fd8 /autoconf/configure.ac | |
parent | 0cec9c85ee0cf2a2eea34792424bf9b6874a0b63 (diff) | |
download | external_llvm-f28411f732960981f8920195ad8f7e6792396961.zip external_llvm-f28411f732960981f8920195ad8f7e6792396961.tar.gz external_llvm-f28411f732960981f8920195ad8f7e6792396961.tar.bz2 |
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/configure.ac')
-rw-r--r-- | autoconf/configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index a5cb788..22f15b7 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), |