uniqua:~ $ cat ~/bin/vgr
#!/bin/sh

make perl6

valgrind \
    --suppressions=/home/andy/parrot/tools/dev/parrot.supp \
    --num-callers=500 \
    --leak-check=full \
    --leak-resolution=high \
    --show-reachable=yes \
./parrot --leak-test languages/perl6/perl6.pbc -e 'say "Hello, world!"' 2>&1 |
    perl -p -e's/^==\d+==//'

Dropping the leading process number leaves pure stack trace goodness, suitable for diffing between runs.

--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance




Reply via email to