diff options
author | Akim Demaille <akim@lrde.epita.fr> | 2012-07-17 10:45:00 +0200 |
---|---|---|
committer | Akim Demaille <akim@lrde.epita.fr> | 2012-07-18 09:17:15 +0200 |
commit | bcbbf654863dd285b176a0f54a75a28c4bdac1d3 (patch) | |
tree | 554b6c32357751052c24db4ba8fcb076ebb816e3 /build-aux | |
parent | 1aa9fa823b452cfd76c0ca34d652f7562c94864a (diff) | |
download | bison-bcbbf654863dd285b176a0f54a75a28c4bdac1d3.tar.gz |
maint: Valgrind on OS X.
* configure.ac (VALGRIND_PREBISON): New.
* tests/Makefile.am (maintainer-check-valgrind): Use it.
* etc/darwin11.4.0.supp: New.
* configure.ac, etc/Makefile.am: Use it.
* configure.ac: Disable Valgrind on Mac OS X.
* README-hacking: Explain why.
Diffstat (limited to 'build-aux')
-rw-r--r-- | build-aux/Makefile.am | 22 | ||||
-rw-r--r-- | build-aux/darwin11.4.0.valgrind | 64 |
2 files changed, 84 insertions, 2 deletions
diff --git a/build-aux/Makefile.am b/build-aux/Makefile.am index 8d0cfb29..2c72cebf 100644 --- a/build-aux/Makefile.am +++ b/build-aux/Makefile.am @@ -1,2 +1,20 @@ -## Process this file with automake to produce Makefile.in -*-Makefile-*- -EXTRA_DIST = prev-version.txt cross-options.pl update-b4-copyright +## Copyright (C) 2006, 2009-2012 Free Software Foundation, Inc. + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +EXTRA_DIST = \ + cross-options.pl \ + darwin11.4.0.valgrind \ + prev-version.txt \ + update-b4-copyright diff --git a/build-aux/darwin11.4.0.valgrind b/build-aux/darwin11.4.0.valgrind new file mode 100644 index 00000000..ff355ebc --- /dev/null +++ b/build-aux/darwin11.4.0.valgrind @@ -0,0 +1,64 @@ +# Copyright (C) 2012 Free Software Foundation, Inc. + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +# Valgrind suppression file for Bison. + +{ + Mac OS X initialization + Memcheck:Leak + fun:?alloc* + ... + fun:*ImageLoader* +} + +{ + Mac OS X initialization + Memcheck:Leak + fun:?alloc* + ... + fun:*dyld* +} + +{ + Mac OS X initialization + Memcheck:Leak + fun:?alloc* + ... + fun:__CFInitialize +} + +{ + Mac OS X I/O buffer + Memcheck:Leak + fun:malloc + fun:__smakebuf + fun:__swsetup + fun:__sfvwrite + fun:fwrite +} + +{ + Mac OS X I/O buffer + Memcheck:Leak + fun:malloc + fun:__smakebuf + fun:__swsetup + fun:__swbuf + fun:putchar +} + +# Local Variables: +# mode: shell-script +# End: |