|
From: <sv...@va...> - 2008-05-01 20:24:24
|
Author: sewardj Date: 2008-05-01 21:24:26 +0100 (Thu, 01 May 2008) New Revision: 7982 Log: Merge branches/OTRACK_BY_INSTRUMENTATION into the trunk. This adds 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. Added: trunk/memcheck/mc_machine.c trunk/memcheck/tests/origin1-yes.c trunk/memcheck/tests/origin1-yes.stderr.exp trunk/memcheck/tests/origin1-yes.stdout.exp trunk/memcheck/tests/origin1-yes.vgtest trunk/memcheck/tests/origin2-not-quite.c trunk/memcheck/tests/origin2-not-quite.stderr.exp trunk/memcheck/tests/origin2-not-quite.stdout.exp trunk/memcheck/tests/origin2-not-quite.vgtest trunk/memcheck/tests/origin3-no.c trunk/memcheck/tests/origin3-no.stderr.exp trunk/memcheck/tests/origin3-no.stdout.exp trunk/memcheck/tests/origin3-no.vgtest trunk/memcheck/tests/origin4-many.c trunk/memcheck/tests/origin4-many.stderr.exp-glibc25-amd64 trunk/memcheck/tests/origin4-many.stderr.exp-glibc25-x86 trunk/memcheck/tests/origin4-many.stdout.exp trunk/memcheck/tests/origin4-many.vgtest trunk/memcheck/tests/origin5-bz2.c trunk/memcheck/tests/origin5-bz2.stderr.exp-glibc25-amd64 trunk/memcheck/tests/origin5-bz2.stderr.exp-glibc25-x86 trunk/memcheck/tests/origin5-bz2.stderr.exp-glibc27-ppc64 trunk/memcheck/tests/origin5-bz2.stdout.exp trunk/memcheck/tests/origin5-bz2.vgtest Modified: trunk/coregrind/m_aspacemgr/aspacemgr-aix5.c trunk/coregrind/m_debuginfo/debuginfo.c trunk/coregrind/m_debuginfo/readdwarf3.c trunk/coregrind/m_debuginfo/readelf.c trunk/coregrind/m_errormgr.c trunk/coregrind/m_execontext.c trunk/coregrind/m_initimg/initimg-aix5.c trunk/coregrind/m_initimg/initimg-linux.c trunk/coregrind/m_machine.c trunk/coregrind/m_main.c trunk/coregrind/m_scheduler/scheduler.c trunk/coregrind/m_sigframe/sigframe-amd64-linux.c trunk/coregrind/m_sigframe/sigframe-ppc32-aix5.c trunk/coregrind/m_sigframe/sigframe-ppc32-linux.c trunk/coregrind/m_sigframe/sigframe-ppc64-aix5.c trunk/coregrind/m_sigframe/sigframe-ppc64-linux.c trunk/coregrind/m_sigframe/sigframe-x86-linux.c trunk/coregrind/m_stacks.c trunk/coregrind/m_syswrap/syswrap-amd64-linux.c trunk/coregrind/m_syswrap/syswrap-generic.c trunk/coregrind/m_syswrap/syswrap-ppc32-linux.c trunk/coregrind/m_syswrap/syswrap-ppc64-linux.c trunk/coregrind/m_syswrap/syswrap-x86-linux.c trunk/coregrind/m_tooliface.c trunk/coregrind/m_translate.c trunk/coregrind/pub_core_aspacemgr.h trunk/coregrind/pub_core_execontext.h trunk/coregrind/pub_core_stacks.h trunk/coregrind/pub_core_threadstate.h trunk/coregrind/pub_core_tooliface.h trunk/docs/internals/xml-output.txt trunk/exp-drd/drd_main.c trunk/exp-drd/drd_malloc_wrappers.c trunk/exp-drd/drd_malloc_wrappers.h trunk/exp-drd/drd_pthread_intercepts.c trunk/exp-drd/tests/recursive_mutex.c trunk/helgrind/hg_main.c trunk/include/pub_tool_execontext.h trunk/include/pub_tool_machine.h trunk/include/pub_tool_tooliface.h trunk/massif/ms_main.c trunk/memcheck/Makefile.am trunk/memcheck/mc_include.h trunk/memcheck/mc_main.c trunk/memcheck/mc_malloc_wrappers.c trunk/memcheck/mc_translate.c trunk/memcheck/tests/Makefile.am [... diff too large to include ...] |