]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
17 years agoInclude omega.h in the distribution tarball, else building from the
Julian Seward [Sat, 10 Nov 2007 20:21:11 +0000 (20:21 +0000)] 
Include omega.h in the distribution tarball, else building from the
tarball fails.  As it stands omega.h is not installed into
$prefix/include/valgrind, so cannot be used in client requests.
Perhaps it should be.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7138

17 years agoRemove old Helgrind suppressions.
Julian Seward [Sat, 10 Nov 2007 20:12:23 +0000 (20:12 +0000)] 
Remove old Helgrind suppressions.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7137

17 years agoFix compilation on ppc platforms.
Julian Seward [Sat, 10 Nov 2007 13:33:56 +0000 (13:33 +0000)] 
Fix compilation on ppc platforms.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7136

17 years agoBack out r7132.
Julian Seward [Sat, 10 Nov 2007 12:44:56 +0000 (12:44 +0000)] 
Back out r7132.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7135

17 years agoFilter out some of Massif's verbose output that varies from machine to
Nicholas Nethercote [Sat, 10 Nov 2007 04:18:39 +0000 (04:18 +0000)] 
Filter out some of Massif's verbose output that varies from machine to
machine, caused by them getting slightly different stack traces.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7134

17 years agoChanged Massif to record the 'slop' heap bytes caused by rounding asked-for
Nicholas Nethercote [Sat, 10 Nov 2007 04:08:08 +0000 (04:08 +0000)] 
Changed Massif to record the 'slop' heap bytes caused by rounding asked-for
sizes up to a multiple of 8 (or whatever --alignment is).  This is combined
with the "admin" bytes, resulting in the "extra" bytes.  Added
VG_(malloc_usable_size) to the tool interface to support this.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7133

17 years agofix toolname in Helgrind suppressions
Nicholas Nethercote [Sat, 10 Nov 2007 03:27:42 +0000 (03:27 +0000)] 
fix toolname in Helgrind suppressions

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7132

17 years agoRename in the manual.
Julian Seward [Fri, 9 Nov 2007 23:59:49 +0000 (23:59 +0000)] 
Rename in the manual.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7130

17 years agoStop xsltproc barfing on un-escaped '&'.
Julian Seward [Fri, 9 Nov 2007 23:59:14 +0000 (23:59 +0000)] 
Stop xsltproc barfing on un-escaped '&'.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7129

17 years agoMerge (from branches/THRCHECK) misc build-system changes. Nothing
Julian Seward [Fri, 9 Nov 2007 23:30:51 +0000 (23:30 +0000)] 
Merge (from branches/THRCHECK) misc build-system changes.  Nothing
significant.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7128

17 years agoMerge (from branches/THRCHECK) r7043:
Julian Seward [Fri, 9 Nov 2007 23:29:46 +0000 (23:29 +0000)] 
Merge (from branches/THRCHECK) r7043:

Allow a test to have any number of .stderr.exp* files, so long as at
least one is found.  In fact the comments in the code that claimed
that .stderr.exp[0-9] are the only ones allowed were misleading;
.stderr.exp* has always been allowed.  The only functional change here
is to mandate that at least one such file exists; prior to the change
the script mandated that at least a .stderr.exp (with no other suffix)
file existed.

Purpose is to allow collections of .stderr.exp files with suffixes
arranged in some meaningful way, eg, foo.stderr.exp-glibc25-amd64.
This might help in making testsuites more maintainable when there
have to be multiple .stderr.exp files.  Naming them merely as
.stderr.exp1, .stderr.exp2, etc, makes it impossible to remember
what the differences between the files actually is.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7127

17 years agoI got a bit confused with glibc-2.6.X suppressions whilst merging from
Julian Seward [Fri, 9 Nov 2007 23:26:54 +0000 (23:26 +0000)] 
I got a bit confused with glibc-2.6.X suppressions whilst merging from
branches/THRCHECK (sorry Dirk).  I'll fix them shortly.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7126

17 years agoAllow VG_(atoll16) to accept a leading "0x".
Julian Seward [Fri, 9 Nov 2007 23:25:46 +0000 (23:25 +0000)] 
Allow VG_(atoll16) to accept a leading "0x".

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7125

17 years agoOops (a second time), this was missed out of r7118 (Merge (from
Julian Seward [Fri, 9 Nov 2007 23:24:09 +0000 (23:24 +0000)] 
Oops (a second time), this was missed out of r7118 (Merge (from
branches/THRCHECK) the following amd64-linux stack unwind kludges)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7124

17 years agoMerge (from branches/THRCHECK) the following two changes to the core-tool
Julian Seward [Fri, 9 Nov 2007 23:21:44 +0000 (23:21 +0000)] 
Merge (from branches/THRCHECK) the following two changes to the core-tool
interface:

r6805: Modify two thread-notification events in the core-tool
interface.  This removes track_post_thread_create and
track_post_thread_join.  The core can only see low level thread
creation and exiting, and has no idea about pthread-level concepts
like "pthread_create" and "pthread_join", so these are a bit
ambiguous.

Replace them with track_pre_thread_ll_create, which is notified before
a new thread makes any memory references, and
track_pre_thread_ll_exit, which is notified just before the new thread
exits, that is, after it has made its last memory reference.

r6823: Core-tool interface: give 'needs_tool_errors' an extra Boolean
indicating whether or not the core should print thread id's on error
messages.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7123

17 years agoOops, this was missed out of r7118 (Merge (from branches/THRCHECK) the
Julian Seward [Fri, 9 Nov 2007 23:16:11 +0000 (23:16 +0000)] 
Oops, this was missed out of r7118 (Merge (from branches/THRCHECK) the
following amd64-linux stack unwind kludges)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7122

17 years agoMerge (from branches/THRCHECK) r6804:
Julian Seward [Fri, 9 Nov 2007 23:13:22 +0000 (23:13 +0000)] 
Merge (from branches/THRCHECK) r6804:

Split the scheduler initialisation into two phases, for reasons I
can't exactly remember.  But I think it was so that the tool can be
told of the initial thread's TID before it is notified of any initial
address range permissions.  Or something like that.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7121

17 years agoMerge r6806 from branches/THRCHECK:
Julian Seward [Fri, 9 Nov 2007 23:09:50 +0000 (23:09 +0000)] 
Merge r6806 from branches/THRCHECK:

Fix longstanding error in the amd64-linux function-wrapping macros:
protect the caller's red zone across the hidden call.  All rather
nasty as explained in big comment.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7120

17 years agoTrack vex r1793: make all tools able to handle the new IR memory bus
Julian Seward [Fri, 9 Nov 2007 23:06:35 +0000 (23:06 +0000)] 
Track vex r1793: make all tools able to handle the new IR memory bus
event statement (Ist_MBE).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7119

17 years agoMerge (from branches/THRCHECK) the following amd64-linux stack unwind
Julian Seward [Fri, 9 Nov 2007 23:02:28 +0000 (23:02 +0000)] 
Merge (from branches/THRCHECK) the following amd64-linux stack unwind
kludges^H^H^H^H^H^H^Henhancements:

r6802: For VG_(record_ExeContext) et al, add a new parameter
(first_ip_delta) which is added to the initial IP value before the
stack is unwound.  A safe value to pass is zero, which causes the
existing behaviour to be unchanged.  This is a kludge needed to work
around the incomplete amd64 stack unwind info in glibc-2.5's clone()
routine.

r7059: Add a last-ditch heuristic-hack to the amd64-linux stack
unwinder, which is used when all other methods fail.  Seems like GDB
has something similar.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7118

17 years agoSuppressions for (new) Helgrind.
Julian Seward [Fri, 9 Nov 2007 22:50:55 +0000 (22:50 +0000)] 
Suppressions for (new) Helgrind.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7117

17 years agoImport thrcheck from the THRCHECK branch, and rename it Helgrind (with
Julian Seward [Fri, 9 Nov 2007 22:49:28 +0000 (22:49 +0000)] 
Import thrcheck from the THRCHECK branch, and rename it Helgrind (with
permission of the existing Helgrind authors).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7116

17 years agoFix tag.
Julian Seward [Fri, 9 Nov 2007 21:07:31 +0000 (21:07 +0000)] 
Fix tag.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7115

17 years agoRename this directory.
Julian Seward [Fri, 9 Nov 2007 15:44:15 +0000 (15:44 +0000)] 
Rename this directory.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7113

17 years agoAdd Bryan Meredith's Omega tool as an experimental tool. Maintainer
Julian Seward [Fri, 9 Nov 2007 12:30:36 +0000 (12:30 +0000)] 
Add Bryan Meredith's Omega tool as an experimental tool.  Maintainer
is Rich Coe.  Also, a minor mod to Makefile.install.am to handle tool
names with dashes in.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7112

17 years agoDon't print warnings about silly args to malloc/calloc in XML mode.
Julian Seward [Fri, 9 Nov 2007 11:33:02 +0000 (11:33 +0000)] 
Don't print warnings about silly args to malloc/calloc in XML mode.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7111

17 years agoUpdate notes.
Julian Seward [Wed, 7 Nov 2007 01:10:42 +0000 (01:10 +0000)] 
Update notes.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7106

17 years agoTest for decoding of some instructions with redundant REX.W bits in
Julian Seward [Tue, 6 Nov 2007 22:00:35 +0000 (22:00 +0000)] 
Test for decoding of some instructions with redundant REX.W bits in
their prefix.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7104

17 years agoFix gcc-2.96 build failures.
Julian Seward [Sat, 3 Nov 2007 11:16:31 +0000 (11:16 +0000)] 
Fix gcc-2.96 build failures.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7085

17 years agoUpdate todo notes
Nicholas Nethercote [Fri, 2 Nov 2007 21:44:02 +0000 (21:44 +0000)] 
Update todo notes

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7084

17 years agoFix a Makefile issue that I think caused automated testing to fail on
Nicholas Nethercote [Fri, 2 Nov 2007 20:47:53 +0000 (20:47 +0000)] 
Fix a Makefile issue that I think caused automated testing to fail on
'alvis' last night.  I don't no why it worked on the other machines, must be
an automake version thing.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7083

17 years agoChange ms_print to ms_print.in, link it into the build/install system.
Nicholas Nethercote [Fri, 2 Nov 2007 20:44:57 +0000 (20:44 +0000)] 
Change ms_print to ms_print.in, link it into the build/install system.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7082

17 years agoFilter out libc differences. All Massif tests now pass on the AMD64 machine
Nicholas Nethercote [Fri, 2 Nov 2007 04:17:28 +0000 (04:17 +0000)] 
Filter out libc differences.  All Massif tests now pass on the AMD64 machine
I just tested.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7081

17 years agoFix 64-bit Massif breakage, caused by problems with integer arithmetic on
Nicholas Nethercote [Fri, 2 Nov 2007 04:12:48 +0000 (04:12 +0000)] 
Fix 64-bit Massif breakage, caused by problems with integer arithmetic on
values of different signs and sizes that only a C language lawyer would
spot.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7080

17 years agoThis should have gone in with the last commit.
Nicholas Nethercote [Thu, 1 Nov 2007 04:44:58 +0000 (04:44 +0000)] 
This should have gone in with the last commit.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7070

17 years agoMerged the MASSIF2 branch to the trunk. Main changes:
Nicholas Nethercote [Thu, 1 Nov 2007 04:40:37 +0000 (04:40 +0000)] 
Merged the MASSIF2 branch to the trunk.  Main changes:

- ms_main.c: completely overhauled.

- massif/tests/*:  lots of them now.

- massif/perf/:  added.

- massif/hp2ps:  removed.  No longer used.

- vg_regtest: renamed the previously unused "posttest" notion to "post".
  Using it for checking ms_print's output.

Although the code has changed dramatically, as has the form of the tool's
output, the information presented in the output is basically the same,
although it's now (hopefully) much more useful.  So the tool name is
unchanged.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7069

17 years agoAdd comment about 32-bit UIDs/GIDs.
Nicholas Nethercote [Tue, 23 Oct 2007 22:26:12 +0000 (22:26 +0000)] 
Add comment about 32-bit UIDs/GIDs.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7030

17 years agoUpdate bug status.
Tom Hughes [Tue, 23 Oct 2007 08:16:01 +0000 (08:16 +0000)] 
Update bug status.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7029

17 years agoUse geteuid32/getegid32 on those platforms which have them.
Tom Hughes [Tue, 23 Oct 2007 08:03:59 +0000 (08:03 +0000)] 
Use geteuid32/getegid32 on those platforms which have them.
Fixes bug #151209.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7028

17 years agoSuggest compiling with --Wall.
Nicholas Nethercote [Thu, 18 Oct 2007 23:14:48 +0000 (23:14 +0000)] 
Suggest compiling with --Wall.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7025

17 years agoclarify a paragraph
Nicholas Nethercote [Wed, 17 Oct 2007 22:29:08 +0000 (22:29 +0000)] 
clarify a paragraph

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7015

17 years agoAdd a comment.
Nicholas Nethercote [Tue, 16 Oct 2007 23:18:06 +0000 (23:18 +0000)] 
Add a comment.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7009

17 years agoreadd right adjustment.
Dirk Mueller [Thu, 4 Oct 2007 21:36:40 +0000 (21:36 +0000)] 
readd right adjustment.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6948

17 years agorevert format checking warnings from trunk, will
Dirk Mueller [Thu, 4 Oct 2007 21:35:21 +0000 (21:35 +0000)] 
revert format checking warnings from trunk, will
be done in a branch

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6947

17 years agofix a few format string warnings
Dirk Mueller [Mon, 1 Oct 2007 10:33:41 +0000 (10:33 +0000)] 
fix a few format string warnings

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6928

17 years agoAdd an FAQ.
Nicholas Nethercote [Tue, 25 Sep 2007 22:05:04 +0000 (22:05 +0000)] 
Add an FAQ.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6910

17 years agoadd format argument checking. might find useful portability issues
Dirk Mueller [Mon, 24 Sep 2007 13:25:24 +0000 (13:25 +0000)] 
add format argument checking. might find useful portability issues

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6909

17 years agoupdate bugs status
Dirk Mueller [Mon, 24 Sep 2007 13:24:50 +0000 (13:24 +0000)] 
update bugs status

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6908

17 years agofix various format string errors
Dirk Mueller [Mon, 24 Sep 2007 13:23:53 +0000 (13:23 +0000)] 
fix various format string errors

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6907

17 years agoFix various format string errors, courtesy of Florian Krohm.
Nicholas Nethercote [Sun, 23 Sep 2007 00:51:24 +0000 (00:51 +0000)] 
Fix various format string errors, courtesy of Florian Krohm.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6902

17 years agoAdd VG_(atoll).
Nicholas Nethercote [Sat, 22 Sep 2007 06:23:07 +0000 (06:23 +0000)] 
Add VG_(atoll).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6899

17 years agoUpdate
Josef Weidendorfer [Tue, 18 Sep 2007 19:29:25 +0000 (19:29 +0000)] 
Update

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6862

17 years agocallgrind_control: Fix behavior with callgrind runs of another user
Josef Weidendorfer [Tue, 18 Sep 2007 19:12:57 +0000 (19:12 +0000)] 
callgrind_control: Fix behavior with callgrind runs of another user

callgrind_control uses files /tmp/callgrind.info.* to be able to
locate running callgrind processes. These files can be read only by
the user which started callgrind. The callgrind_control script
did not check for "permission denied" on opening these files, which
resulted in some unexpected errors. Now, it is checked whether
the "open" was successful, and if not, we skip the according callgrind
process.

Fixes bug 149963.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6861

17 years agoAdd a warning about --log-file-exactly.
Nicholas Nethercote [Mon, 17 Sep 2007 23:15:35 +0000 (23:15 +0000)] 
Add a warning about --log-file-exactly.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6857

17 years agoupdate
Nicholas Nethercote [Mon, 17 Sep 2007 22:50:46 +0000 (22:50 +0000)] 
update

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6856

17 years agoChange an Int to a SSizeT to avoid overflows. Fixed bug 148174.
Nicholas Nethercote [Mon, 17 Sep 2007 22:46:45 +0000 (22:46 +0000)] 
Change an Int to a SSizeT to avoid overflows.  Fixed bug 148174.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6855

17 years agoExtra info about debugging with GDB
Nicholas Nethercote [Mon, 17 Sep 2007 22:35:57 +0000 (22:35 +0000)] 
Extra info about debugging with GDB

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6854

17 years agoAdd a section to the cachegrind manual suggesting how to act on the results.
Nicholas Nethercote [Mon, 17 Sep 2007 22:28:21 +0000 (22:28 +0000)] 
Add a section to the cachegrind manual suggesting how to act on the results.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6853

17 years agoAdd section on how to use Cachegrind's results.
Nicholas Nethercote [Mon, 17 Sep 2007 22:19:01 +0000 (22:19 +0000)] 
Add section on how to use Cachegrind's results.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6852

17 years agominor tweak
Nicholas Nethercote [Mon, 17 Sep 2007 22:01:14 +0000 (22:01 +0000)] 
minor tweak

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6851

17 years agocallgrind: Use directory in debug info when available
Josef Weidendorfer [Mon, 17 Sep 2007 12:52:10 +0000 (12:52 +0000)] 
callgrind: Use directory in debug info when available

Prepend the file name of a source file with the directory
if that is available. This not only gets rid of problems with the
same file name used in different paths of a project, but lets
the annotation work out of the box without having to specify any
source directory.
Works both with callgrind_annotate and KCachegrind without any
changes there.

Inspired by Nick's change to cachegrind doing the same thing
in r6839 (and gets rid of a FIXME in the source)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6850

17 years agoSplit the OSet interface into two parts: "OSetGen_", which is the existing
Nicholas Nethercote [Mon, 17 Sep 2007 05:30:48 +0000 (05:30 +0000)] 
Split the OSet interface into two parts:  "OSetGen_", which is the existing
interface and provides full power;  and "OSetWord_", which is an
easier-to-use interface for if you just want to store words.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6841

17 years agoupdate
Nicholas Nethercote [Mon, 17 Sep 2007 00:41:18 +0000 (00:41 +0000)] 
update

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6840

17 years agoAdd directory-reading of debug info to cachegrind.
Nicholas Nethercote [Mon, 17 Sep 2007 00:41:07 +0000 (00:41 +0000)] 
Add directory-reading of debug info to cachegrind.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6839

17 years agoremove dead declaration
Nicholas Nethercote [Mon, 17 Sep 2007 00:33:52 +0000 (00:33 +0000)] 
remove dead declaration

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6838

17 years agofix division by zero's
Dirk Mueller [Fri, 14 Sep 2007 09:02:25 +0000 (09:02 +0000)] 
fix division by zero's

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6830

17 years agosuppression update for 10.3
Dirk Mueller [Wed, 12 Sep 2007 13:25:35 +0000 (13:25 +0000)] 
suppression update for 10.3

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6826

17 years agoppc64-linux equivalent to r6813 (use sigframe return stub in
Julian Seward [Mon, 10 Sep 2007 16:52:09 +0000 (16:52 +0000)] 
ppc64-linux equivalent to r6813 (use sigframe return stub in
m_trampoline, not on the stack)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6814

17 years agoppc32-linux signal handling: don't place the sigframe return stub on
Julian Seward [Mon, 10 Sep 2007 16:28:38 +0000 (16:28 +0000)] 
ppc32-linux signal handling: don't place the sigframe return stub on
the stack; instead use a stub in m_trampoline.S.  This makes it
possible to deliver signals on non-executable stacks, and makes the
behaviour consistent with x86-linux and amd64-linux.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6813

17 years agoAdd test for tw instruction.
Julian Seward [Sat, 1 Sep 2007 23:22:39 +0000 (23:22 +0000)] 
Add test for tw instruction.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6797

17 years agoAdd test for tw and td instructions.
Julian Seward [Sat, 1 Sep 2007 23:16:49 +0000 (23:16 +0000)] 
Add test for tw and td instructions.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6796

17 years agoUpdate list-of-known-sins :-)
Julian Seward [Sat, 1 Sep 2007 19:43:08 +0000 (19:43 +0000)] 
Update list-of-known-sins :-)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6795

17 years agoAdd regtest for amd64 implementation of maskmovq and maskmovdq.
Julian Seward [Sat, 1 Sep 2007 18:58:54 +0000 (18:58 +0000)] 
Add regtest for amd64 implementation of maskmovq and maskmovdq.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6794

17 years agoHandle DW_OP_deref in DWARF3 expressions. Fixes #147285.
Julian Seward [Fri, 31 Aug 2007 23:08:39 +0000 (23:08 +0000)] 
Handle DW_OP_deref in DWARF3 expressions.  Fixes #147285.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6793

17 years agoOops. Fix silly error that gcc-4.3 complained about.
Julian Seward [Fri, 31 Aug 2007 10:21:40 +0000 (10:21 +0000)] 
Oops.  Fix silly error that gcc-4.3 complained about.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6792

17 years agoValgrind-side changes to track vx1786 (which was: Support x86 $int
Julian Seward [Wed, 29 Aug 2007 09:11:35 +0000 (09:11 +0000)] 
Valgrind-side changes to track vx1786 (which was: Support x86 $int
0x40 .. 0x43 instructions on Linux.  Apparently these generate a
segfault and then restart the instruction.)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6791

17 years agocallgrind: fix example description and clarification of callgrind format
Josef Weidendorfer [Tue, 28 Aug 2007 21:52:45 +0000 (21:52 +0000)] 
callgrind: fix example description and clarification of callgrind format

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6790

17 years agoMove a 'break' around.
Julian Seward [Tue, 28 Aug 2007 21:48:09 +0000 (21:48 +0000)] 
Move a 'break' around.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6789

17 years agoMake the --max-stackframe machinery 64-bit clean.
Julian Seward [Tue, 28 Aug 2007 17:03:01 +0000 (17:03 +0000)] 
Make the --max-stackframe machinery 64-bit clean.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6788

17 years agoMerge, from CGTUNE branch, a cleaned up version of r6742:
Julian Seward [Tue, 28 Aug 2007 06:05:20 +0000 (06:05 +0000)] 
Merge, from CGTUNE branch, a cleaned up version of r6742:

Another optimisation: allow tools to provide a final_tidy function
which they can use to mess with the final post-tree-built IR before it
is handed off to instruction selection.

In memcheck, use this to remove redundant calls to
MC_(helperc_value_check0_fail) et al.  Gives a 6% reduction in code
size for Memcheck on x86 and a smaller (3% ?) speedup.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6787

17 years agoFix silly bug.
Julian Seward [Tue, 28 Aug 2007 05:19:16 +0000 (05:19 +0000)] 
Fix silly bug.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6786

17 years agofixed a couple of minor things
Nicholas Nethercote [Mon, 27 Aug 2007 22:18:58 +0000 (22:18 +0000)] 
fixed a couple of minor things

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6785

17 years agoFollowup to r6783: supply a correct index/strchr replacement for
Julian Seward [Mon, 27 Aug 2007 11:50:39 +0000 (11:50 +0000)] 
Followup to r6783: supply a correct index/strchr replacement for
ppc32-linux/ppc64-linux.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6784

17 years agoThis module supplies various replacement functions, amongst them a
Julian Seward [Mon, 27 Aug 2007 10:46:39 +0000 (10:46 +0000)] 
This module supplies various replacement functions, amongst them a
replacement for index/strchr in ld.so.  Unfortunately the replacement
functionality was actually rindex/strrchr and amazingly it has taken
about 2.5 years for anyone to notice.

This fixes the x86-linux case; ppc32-linux and ppc64-linux fixes to
follow.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6783

17 years agoupdating licensing wording
Dirk Mueller [Mon, 27 Aug 2007 10:05:51 +0000 (10:05 +0000)] 
updating licensing wording

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6782

17 years agoUpdate
Julian Seward [Sun, 26 Aug 2007 20:55:17 +0000 (20:55 +0000)] 
Update

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6781

17 years agoMerge from CGTUNE branch:
Julian Seward [Sat, 25 Aug 2007 23:25:00 +0000 (23:25 +0000)] 
Merge from CGTUNE branch:

r6738:
Unroll memset; apparently is popular in some places (kpdf).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6780

17 years agoMerge from CGTUNE branch:
Julian Seward [Sat, 25 Aug 2007 23:09:36 +0000 (23:09 +0000)] 
Merge from CGTUNE branch:

r6736:
Hook up Memcheck to the new Left and CmpwNEZ primops defined in vex r1769.

r6737:
Track vex r1770 (removal of Iop_Neg64/32/16/8 primops)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6779

17 years agoChanges to m_hashtable:
Julian Seward [Sat, 25 Aug 2007 07:19:08 +0000 (07:19 +0000)] 
Changes to m_hashtable:

Allow hashtables to dynamically resize (patch from Christoph
Bartoschek).  Results in the following interface changes:

* HT_construct: no need to supply an initial table size.
  Instead, supply a text string used to "name" the table, so
  that debugging messages ("resizing the table") can say which
  one they are resizing.

* Remove VG_(HT_get_node).  This exposes the chain structure to
  callers (via the next_ptr parameter), which is a problem since
  callers could get some info about the chain structure which then
  changes when the table is resized.  Fortunately is not used.

* Remove VG_(HT_first_match) and VG_(HT_apply_to_all_nodes) as
  they are unused.

* Make the iteration mechanism more paranoid, so any adding or
  deleting of nodes part way through an iteration causes VG_(HT_next)
  to assert.

* Fix the comment on VG_(HT_to_array) so it no longer speaks
  specifically about MC's leak detector.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6778

17 years agogcc-4.3 compile fixes.
Julian Seward [Fri, 24 Aug 2007 20:37:09 +0000 (20:37 +0000)] 
gcc-4.3 compile fixes.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6777

17 years agoDynamically expand the ExeContext hash table, rather than using a
Julian Seward [Thu, 23 Aug 2007 10:24:30 +0000 (10:24 +0000)] 
Dynamically expand the ExeContext hash table, rather than using a
fixed size.  Partial commit of a patch from Christoph Bartoschek.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6776

17 years agoThe drastic increase in the number of per-arena freelists in r6771
Julian Seward [Thu, 23 Aug 2007 10:22:44 +0000 (10:22 +0000)] 
The drastic increase in the number of per-arena freelists in r6771
exposes a performance problem with doing m_mallocfree.c sanity checks
(at --sanity-level=3, at least), caused by slowness in
listNo_to_pszB_min.  This commit fixes the problem by caching the
results of queries to listNo_to_pszB_min.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6775

17 years agoMake the ExeContext hash table a whole lot bigger.
Julian Seward [Wed, 22 Aug 2007 23:51:33 +0000 (23:51 +0000)] 
Make the ExeContext hash table a whole lot bigger.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6774

17 years agoupdate suppressions
Dirk Mueller [Tue, 21 Aug 2007 20:28:34 +0000 (20:28 +0000)] 
update suppressions

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6772

17 years agoPreviously, each Arena has a linked list of Superblocks, which can
Julian Seward [Tue, 21 Aug 2007 10:55:26 +0000 (10:55 +0000)] 
Previously, each Arena has a linked list of Superblocks, which can
make VG_(arena_free) expensive if many superblocks have to be checked
before the right one is found.  This change gives the arena a
dynamically expanding sorted array of superblocks, so that finding the
superblock containing an about-to-be-freed block (findSb) is now
O(log2 n) rather than linear in the number of superblocks in the
arena.  Patch from Christoph Bartoschek.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6771

17 years agoSome improvements for malloc/free intensive programs, inspired by
Julian Seward [Mon, 20 Aug 2007 22:57:56 +0000 (22:57 +0000)] 
Some improvements for malloc/free intensive programs, inspired by
performance studies by Christoph Bartoschek:

* Increase the number of freelists per arena from 18 to 112, so as
  to (drastically) cut down on the amount of freelist searching that
  happens.

* Increase the size of the client and tool arenas, so as to reduce
  the cost of finding arenas during freeing.  This is a kludge; a
  better solution would be to use binary search on superblocks, as
  Christoph's patches do.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6770

18 years agosuppression update for 10.3/glibc 2.6
Dirk Mueller [Mon, 23 Jul 2007 14:31:55 +0000 (14:31 +0000)] 
suppression update for 10.3/glibc 2.6

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6768

18 years agoadd glibc-2.6.supp to the distribution list
Dirk Mueller [Sat, 14 Jul 2007 22:43:25 +0000 (22:43 +0000)] 
add glibc-2.6.supp to the distribution list

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6767

18 years agoUpdate.
Julian Seward [Wed, 11 Jul 2007 23:10:05 +0000 (23:10 +0000)] 
Update.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6766

18 years agoAll platforms: make it clearer that missing syscalls constitute
Julian Seward [Tue, 10 Jul 2007 00:18:46 +0000 (00:18 +0000)] 
All platforms: make it clearer that missing syscalls constitute
reportable bugs.

AIX only: print name of missing syscall as well as number -- important
because there is no fixed name/number binding.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6765