develooper Front page | perl.perl6.internals | Postings from April 2008

[PATCH] Mark Stack as Defined for Valgrind (config help wanted?)

From:
chromatic
Date:
April 27, 2008 15:01
Subject:
[PATCH] Mark Stack as Defined for Valgrind (config help wanted?)
The attached patch, not yet for application, uses the Valgrind memcheck header 
to mark items on the stack as initialized.  This clears up most of the 
uninitialized read errors in our Valgrind checks, which makes it easier to 
find real errors.

I'm not applying this patch yet because we need a conditional include of the 
Memcheck header, probably probed from configure, and an empty declaration of 
this macro if it's not available.  It's fine with me if the configuration 
only runs during debugging mode or something similar.

-- c





Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About