[perl #41857] [CAGE] Make a "make valgrind" target

Will Coleda via RT parrotbug-followup at parrotcode.org
Tue Nov 25 13:59:03 UTC 2008


On Thu Mar 15 19:10:39 2007, pcoch wrote:
> Create a makefile target so that we can use the valgrind tool suite:
> http://valgrind.org/

I don't think this request makes sense; When you're running valgrind on 
parrot, you're running it against a very particular set of args to your 
parrot program; having this as a static make target doesn't help.

Here's a suggested command line (originally from chromatic as an alias)

$ cat ~/bin/vgp
valgrind --suppressions=tools/dev/parrot.supp --num-callers=500 --leak-
check=full --leak-resolution=high --show-reachable=yes ./parrot --leak-
test $@

You can then run this as:

vgp path/to/some.pir argument

And get the resulting valgrind output.

Rejecting ticket, sorry.
-- 
Will "Coke" Coleda


More information about the parrot-dev mailing list