Tell valgrind about conservative GC regions and suppress spurious
authorDaniel Colascione <dancol@dancol.org>
Mon, 23 Sep 2013 02:34:52 +0000 (18:34 -0800)
committerDaniel Colascione <dancol@dancol.org>
Mon, 23 Sep 2013 02:34:52 +0000 (18:34 -0800)
commita84683fdd5dcb629a59807e78c413e21f21a186d
tree785edb9e32d30a7e7e7f48598aac77e98554169c
parentfb83ea63a5db0fe6c20667532d1019a58d2fc1fd
Tell valgrind about conservative GC regions and suppress spurious
warings.

* alloc.c (USE_VALGRIND): New macro; on by default
when ENABLE_CHECKING.
(mark_maybe_object,mark_maybe_pointer)
[USE_VALGRIND]: Mark conservatively-scanned regions valid for
valgrind purposes.
(valgrind_p) [USE_VALGRIND]: New variable.
(init_alloc) [USE_VALGRIND]: Initialize valgrind_p.
ChangeLog
configure.ac
src/ChangeLog
src/alloc.c