[vtk-developers] Addition flag for valgrind
Bill Lorensen
bill.lorensen at gmail.com
Tue Mar 5 11:22:04 EST 2013
Foks,
I suggest we add the flag:
--track-origins=yes
to valgrind.
"Controls whether Memcheck tracks the origin of uninitialised values. By
default, it does not, which means that although it can tell you that an
uninitialised value is being used in a dangerous way, it cannot tell you
where the uninitialised value came from. This often makes it difficult to
track down the root problem. "
http://valgrind.org/docs/manual/mc-manual.html
For example, it helped me find this error:
http://review.source.kitware.com/#/t/2301/
which would have been hard to find without it.
Bill
--
Unpaid intern in BillsBasement at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20130305/5663b988/attachment.html>
More information about the vtk-developers
mailing list