support to Memcheck for tracking the origin of uninitialised values,
if you use the --track-origins=yes flag.
This currently causes some Memcheck regression tests to fail, because
they now print an extra line of advisory text in their output. This
will be fixed.
The core-tool interface is slightly changed. The version number for
the interface needs to be incremented.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7982
a few places have to #include pub_core_stacktrace.h themselves, but
that's ok because explicit is better.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3976
which I put the wrong log message in for. The log message should have been:
Clean up VG_(core_panic_at)() -- pass it ip/sp/fp rather than a
StackTrace. This allows m_signals.c to not have to know about
m_stacktrace.c, nor does core.h need to import pub_core_stacktrace.h any
more. (Also fixed a bug that was preventing vg_assert2's extra string
from being printed.)
Also moved VG_DEEPEST_BACKTRACE out of core.h into pub_core_execontext.h.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3832
two halves: stacktrace.c, which deals with getting, traversing and printing
stack traces; and execontext.c, which deals with storing stack traces
permanently in a way that avoids duplicates, and comparing them.
One nice outcome: previously we were often creating ExeContexts, which live
forever, even when they were only needed temporarily. Ie. this was a memory
leak, which has been removed.
As part of this, new headers have been created, carved off core.h and
tool.h. Lots of function names have changed, too.
In Massif, I also changed a lot of "eip" names to "ip" to make them less
x86-specific.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3429