mu: add memcheck script for valgrinding

This commit is contained in:
Dirk-Jan C. Binnema
2020-02-15 14:09:30 +02:00
parent c22eb434b7
commit a4a682e578
3 changed files with 15 additions and 0 deletions

6
mu/mu-memcheck.in Normal file
View File

@ -0,0 +1,6 @@
#!/bin/sh
export G_SLICE=always-malloc
export G_DEBUG=gc-friendly
libtool --mode=execute valgrind --tool=memcheck --leak-check=full --show-possibly-lost=no --leak-resolution=med --track-origins=yes --num-callers=20 --log-file='@abs_top_builddir@/mu-%p.vgdump' @abs_top_builddir@/mu/mu $@