]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
19 years agoupdate suppression for newer versions of Xorg
Dirk Mueller [Tue, 3 Jan 2006 18:04:32 +0000 (18:04 +0000)] 
update suppression for newer versions of Xorg

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

19 years agoTidy up some ppc64 assembly & comments a little.
Cerion Armour-Brown [Tue, 3 Jan 2006 14:28:02 +0000 (14:28 +0000)] 
Tidy up some ppc64 assembly & comments a little.

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

19 years agocouple more svn:ignore's
Cerion Armour-Brown [Tue, 3 Jan 2006 14:20:36 +0000 (14:20 +0000)] 
couple more svn:ignore's

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

19 years agoAdd ppc64 int,fp,vmx regtest: jm-insns
Cerion Armour-Brown [Tue, 3 Jan 2006 14:08:26 +0000 (14:08 +0000)] 
Add ppc64 int,fp,vmx regtest: jm-insns
(test code is a symlink to ppc32/jm-insns.c)

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

19 years agoUpdate ppc32 jm-insns regtest to test ppc64 insns, if built with -m64.
Cerion Armour-Brown [Tue, 3 Jan 2006 12:55:40 +0000 (12:55 +0000)] 
Update ppc32 jm-insns regtest to test ppc64 insns, if built with -m64.

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

19 years agoregtest none::ppc32
Cerion Armour-Brown [Tue, 3 Jan 2006 11:47:38 +0000 (11:47 +0000)] 
regtest none::ppc32
 - More cleanup
 - Fixed rlwimi test - init r_dst to zero.
 - Fixed load/store tests - print change in updated base reg, not actual value.

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

19 years agoSignal-related syscall support.
Julian Seward [Tue, 3 Jan 2006 04:10:13 +0000 (04:10 +0000)] 
Signal-related syscall support.

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

19 years agocasting paranoia (harmless)
Julian Seward [Tue, 3 Jan 2006 04:09:27 +0000 (04:09 +0000)] 
casting paranoia (harmless)

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

19 years agoFirst cut at signal frame build/removal for ppc64-linux. Ghastly
Julian Seward [Tue, 3 Jan 2006 04:08:32 +0000 (04:08 +0000)] 
First cut at signal frame build/removal for ppc64-linux.  Ghastly
stuff, but it does at least appear to do simple signal stuff
correctly.

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

19 years agoupdate
Dirk Mueller [Mon, 2 Jan 2006 20:47:26 +0000 (20:47 +0000)] 
update

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

19 years agoEnable various syscalls.
Julian Seward [Mon, 2 Jan 2006 19:06:37 +0000 (19:06 +0000)] 
Enable various syscalls.

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

19 years agoOops, fix interrupted-syscall snafu.
Julian Seward [Mon, 2 Jan 2006 19:06:08 +0000 (19:06 +0000)] 
Oops, fix interrupted-syscall snafu.

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

19 years agoRecrystallise the warp core on ppc64-linux.
Julian Seward [Mon, 2 Jan 2006 16:32:10 +0000 (16:32 +0000)] 
Recrystallise the warp core on ppc64-linux.

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

19 years agoFun n games making sys_clone() work.
Julian Seward [Mon, 2 Jan 2006 16:25:31 +0000 (16:25 +0000)] 
Fun n games making sys_clone() work.

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

19 years agoUpdate.
Julian Seward [Mon, 2 Jan 2006 16:24:51 +0000 (16:24 +0000)] 
Update.

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

19 years agoDon't confuse ppc32 and ppc64.
Julian Seward [Mon, 2 Jan 2006 16:24:03 +0000 (16:24 +0000)] 
Don't confuse ppc32 and ppc64.

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

19 years agoMore paranoia please.
Julian Seward [Mon, 2 Jan 2006 16:23:29 +0000 (16:23 +0000)] 
More paranoia please.

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

19 years agoRead dwarf2 line number information even if a .debug_str section was
Julian Seward [Sun, 1 Jan 2006 23:00:49 +0000 (23:00 +0000)] 
Read dwarf2 line number information even if a .debug_str section was
not found.  This is believed to fix the regression in 3.1.X wherein
debug info was sometimes not read from icc-8.1 generated executables.

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

19 years agoMake this work on SSE1-only machines.
Julian Seward [Sun, 1 Jan 2006 18:26:40 +0000 (18:26 +0000)] 
Make this work on SSE1-only machines.

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

19 years agoUpdate.
Julian Seward [Sun, 1 Jan 2006 17:17:55 +0000 (17:17 +0000)] 
Update.

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

19 years agoAlso do sse memory overrun tests on x86.
Julian Seward [Sun, 1 Jan 2006 15:22:16 +0000 (15:22 +0000)] 
Also do sse memory overrun tests on x86.

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

19 years agoAdd a test program which checks for memory overruns in the SSE insn
Julian Seward [Sun, 1 Jan 2006 14:27:04 +0000 (14:27 +0000)] 
Add a test program which checks for memory overruns in the SSE insn
decoder.

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

19 years agoFinally fix the bug causing dynamic ppc64-linux executables not to
Julian Seward [Fri, 30 Dec 2005 22:52:20 +0000 (22:52 +0000)] 
Finally fix the bug causing dynamic ppc64-linux executables not to
work: start with with the correct toc pointer (r2), rather than some
nonsense value.

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

19 years agoFix typo
Julian Seward [Fri, 30 Dec 2005 22:50:01 +0000 (22:50 +0000)] 
Fix typo

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

19 years agoA couple more ppc64-linux syscalls.
Julian Seward [Fri, 30 Dec 2005 22:49:24 +0000 (22:49 +0000)] 
A couple more ppc64-linux syscalls.

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

19 years agoAdd a --trace-mem option to Lackey to print out a memory access trace, if
Nicholas Nethercote [Fri, 30 Dec 2005 22:39:58 +0000 (22:39 +0000)] 
Add a --trace-mem option to Lackey to print out a memory access trace, if
only so people will stop asking how to do it.

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

19 years agoMore ppc64-linux syscalls.
Julian Seward [Fri, 30 Dec 2005 15:02:49 +0000 (15:02 +0000)] 
More ppc64-linux syscalls.

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

19 years agoFix up ppc64 dispatcher following the changes made by r5441.
Julian Seward [Fri, 30 Dec 2005 04:16:37 +0000 (04:16 +0000)] 
Fix up ppc64 dispatcher following the changes made by r5441.

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

19 years agoTentative fix for #117332: No line numbers printed by Valgrind 3.1.0
Julian Seward [Wed, 28 Dec 2005 15:19:39 +0000 (15:19 +0000)] 
Tentative fix for #117332: No line numbers printed by Valgrind 3.1.0
for programs compiled with Intel compiler.

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

19 years agoIn fbench, compute sin/cos/sqrt from "first principles", so that the
Julian Seward [Wed, 28 Dec 2005 04:18:20 +0000 (04:18 +0000)] 
In fbench, compute sin/cos/sqrt from "first principles", so that the
program more uniformly measures the speed of FP +/-/* load/store
across different architectures.

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

19 years agoUpdate.
Julian Seward [Tue, 27 Dec 2005 15:02:50 +0000 (15:02 +0000)] 
Update.

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

19 years agoVG_(getgroups) fix (Shinichi Noda)
Julian Seward [Tue, 27 Dec 2005 02:08:03 +0000 (02:08 +0000)] 
VG_(getgroups) fix (Shinichi Noda)

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

19 years agoCheck that the two sigprocmasks haven't failed.
Julian Seward [Tue, 27 Dec 2005 01:44:33 +0000 (01:44 +0000)] 
Check that the two sigprocmasks haven't failed.

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

19 years agoMore dispatcher tuning for ppc32/64. Makes a big difference for
Julian Seward [Mon, 26 Dec 2005 17:58:58 +0000 (17:58 +0000)] 
More dispatcher tuning for ppc32/64.  Makes a big difference for
perf/tinycc.

- run_thread_for_a_while: just clear this thread's reservation when
  starting, not all of them.

- use a different fast-cache hashing function for ppc32/64 than for
  x86/amd64.  This allows the former to use all the fast-cache entries
  rather than just 1/4 of them.

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

19 years agocode layout wibbles only
Nicholas Nethercote [Mon, 26 Dec 2005 17:50:22 +0000 (17:50 +0000)] 
code layout wibbles only

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

19 years agoAttempt to make tinycc work on ppc32, by (1) getting rid of various
Julian Seward [Mon, 26 Dec 2005 03:54:49 +0000 (03:54 +0000)] 
Attempt to make tinycc work on ppc32, by (1) getting rid of various
x86 isms in tinycc.c, (2) giving it a fixed, preprocessed input file
to chew on, and (3) just compiling to a .o with no attempt to link.

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

19 years agoMerge in r5435 from COMPVBITS. Also added a note to
Nicholas Nethercote [Sun, 25 Dec 2005 06:34:04 +0000 (06:34 +0000)] 
Merge in r5435 from COMPVBITS.  Also added a note to
docs/internals/performance.txt about it.

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

19 years agoUpdate for recent change to OSet interface.
Nicholas Nethercote [Sun, 25 Dec 2005 06:30:34 +0000 (06:30 +0000)] 
Update for recent change to OSet interface.

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

19 years agoadd extra note about tinycc
Nicholas Nethercote [Sun, 25 Dec 2005 06:27:51 +0000 (06:27 +0000)] 
add extra note about tinycc

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

19 years agoupdate
Nicholas Nethercote [Sun, 25 Dec 2005 03:33:12 +0000 (03:33 +0000)] 
update

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

19 years agoA minor performance improvement -- make swizzle() faster.
Nicholas Nethercote [Sun, 25 Dec 2005 02:47:12 +0000 (02:47 +0000)] 
A minor performance improvement -- make swizzle() faster.

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

19 years agoFix read-after-free in VG_(HT_destruct). This fixes
Julian Seward [Sat, 24 Dec 2005 15:33:32 +0000 (15:33 +0000)] 
Fix read-after-free in VG_(HT_destruct).  This fixes
memcheck/tests/mempools.  Thanks to Jeroen Witmond for tracking it
down.

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

19 years agoTidy up ppc32 jm-insns test some more.
Cerion Armour-Brown [Sat, 24 Dec 2005 12:55:48 +0000 (12:55 +0000)] 
Tidy up ppc32 jm-insns test some more.
In particular, hide the function pointer setup stuff, for the test loops, in init_function()

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

19 years agoFix a nasty 64-bit-uncleanness bug in OSet spotted by Julian -- for fast
Nicholas Nethercote [Sat, 24 Dec 2005 03:10:56 +0000 (03:10 +0000)] 
Fix a nasty 64-bit-uncleanness bug in OSet spotted by Julian -- for fast
comparisons it was only considering the bottom 32-bits of the key.

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

19 years agoppc64 ELF allows the 288 bytes below the stack pointer to be accessed.
Julian Seward [Fri, 23 Dec 2005 23:34:51 +0000 (23:34 +0000)] 
ppc64 ELF allows the 288 bytes below the stack pointer to be accessed.

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

19 years agoMake ppc64-linux stack unwinding work.
Julian Seward [Fri, 23 Dec 2005 23:33:51 +0000 (23:33 +0000)] 
Make ppc64-linux stack unwinding work.

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

19 years agoChange default --reps value from 3 to 1.
Nicholas Nethercote [Fri, 23 Dec 2005 23:08:04 +0000 (23:08 +0000)] 
Change default --reps value from 3 to 1.

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

19 years agoppc64-linux fixes
Julian Seward [Fri, 23 Dec 2005 12:56:11 +0000 (12:56 +0000)] 
ppc64-linux fixes

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

19 years agoppc64-linux fixes.
Julian Seward [Fri, 23 Dec 2005 12:47:42 +0000 (12:47 +0000)] 
ppc64-linux fixes.

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

19 years agoHandle ppc64-related primops.
Julian Seward [Fri, 23 Dec 2005 12:47:16 +0000 (12:47 +0000)] 
Handle ppc64-related primops.

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

19 years agoTracking VEX r1507
Cerion Armour-Brown [Fri, 23 Dec 2005 11:44:40 +0000 (11:44 +0000)] 
Tracking VEX r1507
adjusted references to renamed VEX dirs guest-ppc/, host-ppc/

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

19 years agoDeal with function pointer vs function entry crazyness on ppc64-linux.
Julian Seward [Fri, 23 Dec 2005 02:29:58 +0000 (02:29 +0000)] 
Deal with function pointer vs function entry crazyness on ppc64-linux.
Memcheck is done, but any tool which generates IR helper calls will
need to be similarly adulterated.

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

19 years agoTidied up jm-insns.c test a little.
Cerion Armour-Brown [Fri, 23 Dec 2005 01:16:16 +0000 (01:16 +0000)] 
Tidied up jm-insns.c test a little.

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

19 years agoTrack changes to PPC naming convention - VEX r1504
Cerion Armour-Brown [Fri, 23 Dec 2005 00:57:03 +0000 (00:57 +0000)] 
Track changes to PPC naming convention - VEX r1504

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

19 years agoHandle CmpORD64{U,S} as ppc64 requires those.
Julian Seward [Fri, 23 Dec 2005 00:16:24 +0000 (00:16 +0000)] 
Handle CmpORD64{U,S} as ppc64 requires those.

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

19 years agoUse rt_sigprocmask, and check for errors correctly. (Not yet done: amd64-linux).
Julian Seward [Thu, 22 Dec 2005 23:13:27 +0000 (23:13 +0000)] 
Use rt_sigprocmask, and check for errors correctly.  (Not yet done: amd64-linux).

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

19 years agoAdd enough syscalls to run bzip2 on ppc64-linux.
Julian Seward [Thu, 22 Dec 2005 20:24:12 +0000 (20:24 +0000)] 
Add enough syscalls to run bzip2 on ppc64-linux.

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

19 years agoProperly return error codes resulting from sigprocmask failures.
Julian Seward [Thu, 22 Dec 2005 20:16:00 +0000 (20:16 +0000)] 
Properly return error codes resulting from sigprocmask failures.
Not yet done: amd64, ppc32.

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

19 years agoComment-only changes
Julian Seward [Thu, 22 Dec 2005 20:14:57 +0000 (20:14 +0000)] 
Comment-only changes

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

19 years agoAdd comment about log2().
Nicholas Nethercote [Thu, 22 Dec 2005 19:50:45 +0000 (19:50 +0000)] 
Add comment about log2().

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

19 years agoMake async-style syscalls work on ppc64, by using rt_sigprocmask
Julian Seward [Thu, 22 Dec 2005 19:28:37 +0000 (19:28 +0000)] 
Make async-style syscalls work on ppc64, by using rt_sigprocmask
instead of sigprocmask.

In the process, discover that error handling for
ML_(do_syscall_for_client_WRK) on all platforms has always been
broken, in the sense that the sigprocmasks (which are important) could
silently fail.  This commit fixes that up too (only on ppc64-linux at
the moment, so all other platforms are probably broken now).

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

19 years agoMore ppc64-linux syscalls.
Julian Seward [Thu, 22 Dec 2005 19:25:51 +0000 (19:25 +0000)] 
More ppc64-linux syscalls.

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

19 years agofixed up ppc64 assembly with .opd sections
Cerion Armour-Brown [Thu, 22 Dec 2005 15:53:12 +0000 (15:53 +0000)] 
fixed up ppc64 assembly with .opd sections

do_syscall_for_client_WRK() needed a bigger stack to avoid the linkage area.

always use dot_prefix for label calls

not wrapping assembly with
.section ".text"
...
.previous
 - ppc64 doesn't like it... seems we can't 'stack' more than one section to pop off with .previous ?

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

19 years agoWhen switching threads on ppc64, clear the reservation pseudo-reg, as on ppc32.
Julian Seward [Thu, 22 Dec 2005 15:16:43 +0000 (15:16 +0000)] 
When switching threads on ppc64, clear the reservation pseudo-reg, as on ppc32.

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

19 years agoAdd a destructor function to OSet_Destroy() which can be called for each
Nicholas Nethercote [Thu, 22 Dec 2005 06:20:59 +0000 (06:20 +0000)] 
Add a destructor function to OSet_Destroy() which can be called for each
node.

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

19 years agoAdd the name of the input file to cg_annotate's output.
Nicholas Nethercote [Thu, 22 Dec 2005 06:14:42 +0000 (06:14 +0000)] 
Add the name of the input file to cg_annotate's output.

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

19 years agoMake a start adding syscalls.
Julian Seward [Thu, 22 Dec 2005 03:35:12 +0000 (03:35 +0000)] 
Make a start adding syscalls.

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

19 years agoSave %CIA correctly (caused ppc64-linux to loop at the first syscall,
Julian Seward [Thu, 22 Dec 2005 03:33:16 +0000 (03:33 +0000)] 
Save %CIA correctly (caused ppc64-linux to loop at the first syscall,
entertainingly).

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

19 years agoRenamed coregrind.h to pub_core_clreq.h and introduced pub_tool_clreq.h to
Nicholas Nethercote [Wed, 21 Dec 2005 20:22:52 +0000 (20:22 +0000)] 
Renamed coregrind.h to pub_core_clreq.h and introduced pub_tool_clreq.h to
be consistent with the module naming scheme.

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

19 years agoupdate
Nicholas Nethercote [Wed, 21 Dec 2005 19:47:06 +0000 (19:47 +0000)] 
update

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

19 years agoFixed cg_annotate bug -- when using the --sort option the primary threshold
Nicholas Nethercote [Wed, 21 Dec 2005 19:45:29 +0000 (19:45 +0000)] 
Fixed cg_annotate bug -- when using the --sort option the primary threshold
was set to zero and so no annotation was done.

Also put the file format into this file, and some other tiny changes.

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

19 years agoAdd a new performance benchmark: tinycc.
Nicholas Nethercote [Tue, 20 Dec 2005 23:02:43 +0000 (23:02 +0000)] 
Add a new performance benchmark: tinycc.

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

19 years agoRewrite ppc64 dispatch loop to avoid profiling overhead, as per ppc32 rewrite (r5352).
Cerion Armour-Brown [Tue, 20 Dec 2005 20:48:50 +0000 (20:48 +0000)] 
Rewrite ppc64 dispatch loop to avoid profiling overhead, as per ppc32 rewrite (r5352).

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

19 years agoRemove all remaining profiling gunk.
Nicholas Nethercote [Mon, 19 Dec 2005 22:48:39 +0000 (22:48 +0000)] 
Remove all remaining profiling gunk.

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

19 years agoRemove remaining profiling gunk from Memcheck.
Nicholas Nethercote [Mon, 19 Dec 2005 22:48:06 +0000 (22:48 +0000)] 
Remove remaining profiling gunk from Memcheck.

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

19 years agoRemove the old profiling stuff from Memcheck.
Nicholas Nethercote [Mon, 19 Dec 2005 22:23:35 +0000 (22:23 +0000)] 
Remove the old profiling stuff from Memcheck.

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

19 years agoFix for bug #117096.
Nicholas Nethercote [Mon, 19 Dec 2005 21:27:58 +0000 (21:27 +0000)] 
Fix for bug #117096.

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

19 years agoBugfix update
Nicholas Nethercote [Mon, 19 Dec 2005 19:40:58 +0000 (19:40 +0000)] 
Bugfix update

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

19 years agoFix a minor --gen-suppressions output bug.
Nicholas Nethercote [Mon, 19 Dec 2005 19:40:12 +0000 (19:40 +0000)] 
Fix a minor --gen-suppressions output bug.

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

19 years agoupdate
Nicholas Nethercote [Mon, 19 Dec 2005 19:38:02 +0000 (19:38 +0000)] 
update

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

19 years agoClarify leak checker output.
Nicholas Nethercote [Mon, 19 Dec 2005 19:33:36 +0000 (19:33 +0000)] 
Clarify leak checker output.

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

19 years agoupdate
Nicholas Nethercote [Mon, 19 Dec 2005 19:12:13 +0000 (19:12 +0000)] 
update

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

19 years agoAdd comment from commit log.
Nicholas Nethercote [Mon, 19 Dec 2005 17:01:14 +0000 (17:01 +0000)] 
Add comment from commit log.

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

19 years agoCheck that noinst_PROGRAMS and noinst_LIBRARIES are not empty strings
Tom Hughes [Mon, 19 Dec 2005 12:48:03 +0000 (12:48 +0000)] 
Check that noinst_PROGRAMS and noinst_LIBRARIES are not empty strings
before trying to run a for loop over them as some versions of bash can't
cope with being asked to loop over an empty list.

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

19 years agoFixed to check whether __builtin_expect is supported before using it.
Tom Hughes [Mon, 19 Dec 2005 12:40:13 +0000 (12:40 +0000)] 
Fixed to check whether __builtin_expect is supported before using it.

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

19 years agoMake sure EM_X86_64 is defined as elf.h doesn't define it on some
Tom Hughes [Mon, 19 Dec 2005 12:27:42 +0000 (12:27 +0000)] 
Make sure EM_X86_64 is defined as elf.h doesn't define it on some
older systems.

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

19 years agoDuh, remove debug printing. Duh.
Julian Seward [Sun, 18 Dec 2005 03:59:16 +0000 (03:59 +0000)] 
Duh, remove debug printing.  Duh.

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

19 years agoUpdate.
Julian Seward [Sun, 18 Dec 2005 03:35:09 +0000 (03:35 +0000)] 
Update.

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

19 years agoIncrease buffer size, so that long debugger command lines don't crash
Julian Seward [Sun, 18 Dec 2005 03:22:50 +0000 (03:22 +0000)] 
Increase buffer size, so that long debugger command lines don't crash
V.  Also add buffer overrun checks.

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

19 years agoNasty hack to stop the leak checker dying on custom-allocator example
Julian Seward [Sun, 18 Dec 2005 02:48:40 +0000 (02:48 +0000)] 
Nasty hack to stop the leak checker dying on custom-allocator example
from Ashley Pittman.

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

19 years agoWhen using a custom allocator that allocates with no intervening
Julian Seward [Sun, 18 Dec 2005 02:37:50 +0000 (02:37 +0000)] 
When using a custom allocator that allocates with no intervening
blocks, the <= relation is the correct one.  In effect asserting <
constitutes an off-by-one error.

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

19 years agofindSb: gradually rearrange the superblock list to bring frequently
Julian Seward [Sat, 17 Dec 2005 20:37:36 +0000 (20:37 +0000)] 
findSb: gradually rearrange the superblock list to bring frequently
accessed blocks closer to the front.  This speeds up malloc/free
intensive programs because evidently those searches cause a lot of
cache misses (so cachegrind tells us).  For perf/heap.c on P4
Northwood, this halves the run-time (!) from 85.8 to 42.9 seconds.
For "real" code (start/exit ktuberling) there is a small but
worthwhile performance gain, of about 2 seconds out of 95.

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

19 years agoUpdate known-bugs summary.
Julian Seward [Sat, 17 Dec 2005 13:53:46 +0000 (13:53 +0000)] 
Update known-bugs summary.

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

19 years agoAdd a malloc/free stress test.
Nicholas Nethercote [Sat, 17 Dec 2005 00:22:39 +0000 (00:22 +0000)] 
Add a malloc/free stress test.

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

19 years agoAdd info about overhead in heap blocks and OSet nodes.
Nicholas Nethercote [Fri, 16 Dec 2005 17:06:37 +0000 (17:06 +0000)] 
Add info about overhead in heap blocks and OSet nodes.

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

19 years agoHold the event count in r29 rather than the count register, since the
Julian Seward [Fri, 16 Dec 2005 01:08:22 +0000 (01:08 +0000)] 
Hold the event count in r29 rather than the count register, since the
former doesn't need to be spilled and reloaded for every bb run.

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

19 years agoAdd missing cases in debug printing.
Julian Seward [Fri, 16 Dec 2005 01:07:11 +0000 (01:07 +0000)] 
Add missing cases in debug printing.

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

19 years agoRewrite ppc32 dispatch loop to avoid profiling overhead, as per
Julian Seward [Thu, 15 Dec 2005 21:40:34 +0000 (21:40 +0000)] 
Rewrite ppc32 dispatch loop to avoid profiling overhead, as per
today's x86 and amd64 rewrites.

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

19 years agoadd note about recent performance improvement
Nicholas Nethercote [Thu, 15 Dec 2005 19:41:14 +0000 (19:41 +0000)] 
add note about recent performance improvement

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

19 years agoImprovments to vg_perf:
Nicholas Nethercote [Thu, 15 Dec 2005 17:22:37 +0000 (17:22 +0000)] 
Improvments to vg_perf:
- show percentage speedup over the first Valgrind when comparing multiple
  Valgrind
- don't accept --reps < 0
- avoid div-by-zero if the runtime is measured as zero

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