make valgrind understand our memory pools
Annotate pools with valgrind macros so that it detects errors in pool usage. Typically, we wish valgrind to detect a leak when the user fails to call proper deallocation function. * spot/misc/fixpool.hh, spot/misc/mspool.hh: here * configure.ac: ensure that valgrind header exists * tests/Makefile.am, tests/core/mempool.cc, tests/core/mempool.test, tests/core/.gitignore: add tests to ensure valgrind accurately detects leaks
This commit is contained in:
parent
b7e77743db
commit
3fe74f1cb9
7 changed files with 234 additions and 10 deletions
1
tests/core/.gitignore
vendored
1
tests/core/.gitignore
vendored
|
|
@ -40,6 +40,7 @@ lunabbrev
|
|||
Makefile
|
||||
Makefile.in
|
||||
maskacc
|
||||
mempool
|
||||
mixprod
|
||||
nequals
|
||||
nenoform
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue