]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
17 years agoMake sure the splash2 binaries are always built in the same location (exp-drd/splash2).
Bart Van Assche [Tue, 17 Jun 2008 18:31:12 +0000 (18:31 +0000)] 
Make sure the splash2 binaries are always built in the same location (exp-drd/splash2).

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

17 years agoAdded column for --tool=none ... -p1.
Bart Van Assche [Tue, 17 Jun 2008 15:00:55 +0000 (15:00 +0000)] 
Added column for --tool=none ... -p1.

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

17 years agoAdded column for --tool=none ... -p4.
Bart Van Assche [Tue, 17 Jun 2008 14:20:26 +0000 (14:20 +0000)] 
Added column for --tool=none ... -p4.

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

17 years agoUpdated to do list.
Bart Van Assche [Tue, 17 Jun 2008 14:19:04 +0000 (14:19 +0000)] 
Updated to do list.

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

17 years agoUpdated results after latest optimization.
Bart Van Assche [Tue, 17 Jun 2008 06:19:29 +0000 (06:19 +0000)] 
Updated results after latest optimization.

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

17 years agoAdded entry for DRD manual.
Bart Van Assche [Mon, 16 Jun 2008 20:31:16 +0000 (20:31 +0000)] 
Added entry for DRD manual.

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

17 years agoOnly retained the results obtained via gcc 4.3.1. Reran Core2 E6750 measurements...
Bart Van Assche [Mon, 16 Jun 2008 20:23:23 +0000 (20:23 +0000)] 
Only retained the results obtained via gcc 4.3.1. Reran Core2 E6750 measurements after latest optimization.

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

17 years agoYet another optimization: do not instrument loads and stores that match the address...
Bart Van Assche [Mon, 16 Jun 2008 20:22:18 +0000 (20:22 +0000)] 
Yet another optimization: do not instrument loads and stores that match the address pattern (stack pointer + offset) when data race detection on stack variables is disabled.

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

17 years agoContinued working on DRD's documentation.
Bart Van Assche [Sun, 15 Jun 2008 12:22:37 +0000 (12:22 +0000)] 
Continued working on DRD's documentation.

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

17 years agoUpdated Testing.txt.
Bart Van Assche [Sun, 15 Jun 2008 12:21:55 +0000 (12:21 +0000)] 
Updated Testing.txt.

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

17 years agoChanged script such that DRD times are compared to native -p4 time instead of native...
Bart Van Assche [Sun, 15 Jun 2008 09:13:28 +0000 (09:13 +0000)] 
Changed script such that DRD times are compared to native -p4 time instead of native -p1 time.

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

17 years agoAdded more results.
Bart Van Assche [Fri, 13 Jun 2008 19:44:51 +0000 (19:44 +0000)] 
Added more results.

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

17 years agoPropagate the error number in x86 signal contexts to the client.
Tom Hughes [Fri, 13 Jun 2008 08:37:49 +0000 (08:37 +0000)] 
Propagate the error number in x86 signal contexts to the client.
Fixes bug #163933.

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

17 years agoget_otrack_shadow_offset_wrk: don't assert when handling 32 bit
Julian Seward [Fri, 13 Jun 2008 07:44:02 +0000 (07:44 +0000)] 
get_otrack_shadow_offset_wrk: don't assert when handling 32 bit
accesses to the x87 registers.  Fixes #163794.

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

17 years agoStarted converting README.txt into drd-manual.xml.
Bart Van Assche [Thu, 12 Jun 2008 15:20:42 +0000 (15:20 +0000)] 
Started converting README.txt into drd-manual.xml.

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

17 years agoAdded results obtained with gcc 4.3.1.
Bart Van Assche [Thu, 12 Jun 2008 13:50:40 +0000 (13:50 +0000)] 
Added results obtained with gcc 4.3.1.

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

17 years agoReplaced gcc version 3.4.0 by 3.4.1. Set LC_ALL=C such that gcc's warning messages...
Bart Van Assche [Thu, 12 Jun 2008 13:49:49 +0000 (13:49 +0000)] 
Replaced gcc version 3.4.0 by 3.4.1. Set LC_ALL=C such that gcc's warning messages show up properly in emacs compile window.

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

17 years agoDisabled bitmap cache rotation optimization because not all gcc versions compile...
Bart Van Assche [Thu, 12 Jun 2008 06:04:59 +0000 (06:04 +0000)] 
Disabled bitmap cache rotation optimization because not all gcc versions compile it correctly.

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

17 years ago- Renamed s_bitmap2_creation_count into s_bitmap2_node_creation_count.
Bart Van Assche [Wed, 11 Jun 2008 19:17:01 +0000 (19:17 +0000)] 
- Renamed s_bitmap2_creation_count into s_bitmap2_node_creation_count.
- Bug fix: bm_get_bitmap2_node_creation_count() now returns the correct
  counter.
- More tl_assert() calls in drd_bitmap.h that were commented out are now
  surrounded by #ifdef ENABLE_DRD_CONSISTENCY_CHECKS / #endif.

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

17 years agoUpdated to do list.
Bart Van Assche [Wed, 11 Jun 2008 18:38:20 +0000 (18:38 +0000)] 
Updated to do list.

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

17 years agoFixed compiler warning.
Bart Van Assche [Wed, 11 Jun 2008 18:37:59 +0000 (18:37 +0000)] 
Fixed compiler warning.

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

17 years agoUpdated after level-2 bitmap size change.
Bart Van Assche [Wed, 11 Jun 2008 18:37:34 +0000 (18:37 +0000)] 
Updated after level-2 bitmap size change.

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

17 years ago- Reduced level two bitmap size from 2**16 to 2**14 addresses. This
Bart Van Assche [Wed, 11 Jun 2008 13:17:56 +0000 (13:17 +0000)] 
- Reduced level two bitmap size from 2**16 to 2**14 addresses. This
  improves the performance of exp-drd (with default settings) for
  some tests.
- Some consistency checks were commented out via #if 0 / #endif because
  of performance reasons. Replaced #if 0 by
  #ifdef ENABLE_DRD_CONSISTENCY_CHECKS.
- Enabled -DENABLE_DRD_CONSISTENCY_CHECKS for the drd_bitmap_test
  regression test.
- Updated performance measurements.

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

17 years agoUpdated results after latest optimizations.
Bart Van Assche [Wed, 11 Jun 2008 06:31:43 +0000 (06:31 +0000)] 
Updated results after latest optimizations.

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

17 years agoUpdated results after latest optimizations.
Bart Van Assche [Wed, 11 Jun 2008 06:30:13 +0000 (06:30 +0000)] 
Updated results after latest optimizations.

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

17 years agoUpdated after latest optimizations.
Bart Van Assche [Tue, 10 Jun 2008 19:32:20 +0000 (19:32 +0000)] 
Updated after latest optimizations.

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

17 years agoAnother small optimization: moved code for printing memory accesses from run-time...
Bart Van Assche [Tue, 10 Jun 2008 13:55:13 +0000 (13:55 +0000)] 
Another small optimization: moved code for printing memory accesses from run-time to instrumentation-time.

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

17 years agoReworked code for memory tracing.
Bart Van Assche [Tue, 10 Jun 2008 12:51:51 +0000 (12:51 +0000)] 
Reworked code for memory tracing.

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

17 years agoUpdated results after last optimization.
Bart Van Assche [Tue, 10 Jun 2008 11:27:07 +0000 (11:27 +0000)] 
Updated results after last optimization.

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

17 years agoOnly enable the cache rotation optimization for gcc 4.2 and later.
Bart Van Assche [Tue, 10 Jun 2008 06:32:49 +0000 (06:32 +0000)] 
Only enable the cache rotation optimization for gcc 4.2 and later.

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

17 years agoRun test only with one thread and with ten threads -- skip values inbetween.
Bart Van Assche [Mon, 9 Jun 2008 19:52:37 +0000 (19:52 +0000)] 
Run test only with one thread and with ten threads -- skip values inbetween.

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

17 years agoCorrected rounding.
Bart Van Assche [Mon, 9 Jun 2008 19:51:41 +0000 (19:51 +0000)] 
Corrected rounding.

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

17 years agoImplemented cache rotation.
Bart Van Assche [Mon, 9 Jun 2008 19:50:51 +0000 (19:50 +0000)] 
Implemented cache rotation.

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

17 years agoMemory tracing now also works while not recording memory accesses for conflict analys...
Bart Van Assche [Mon, 9 Jun 2008 15:18:59 +0000 (15:18 +0000)] 
Memory tracing now also works while not recording memory accesses for conflict analysis. Added branch prediction hints.

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

17 years agoCommented out assert statements because of performance reasons.
Bart Van Assche [Mon, 9 Jun 2008 15:08:22 +0000 (15:08 +0000)] 
Commented out assert statements because of performance reasons.

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

17 years agoReran benchmark after latest optimizations.
Bart Van Assche [Mon, 9 Jun 2008 12:43:20 +0000 (12:43 +0000)] 
Reran benchmark after latest optimizations.

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

17 years agoUpdated results.
Bart Van Assche [Sun, 8 Jun 2008 14:44:41 +0000 (14:44 +0000)] 
Updated results.

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

17 years agoOnly run tests with -p4 -- omitted -p1 and -p2.
Bart Van Assche [Sun, 8 Jun 2008 11:22:23 +0000 (11:22 +0000)] 
Only run tests with -p4 -- omitted -p1 and -p2.

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

17 years agoMore maual inlining.
Bart Van Assche [Sun, 8 Jun 2008 11:21:34 +0000 (11:21 +0000)] 
More maual inlining.

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

17 years agoMoved shell commands for running matinv to a separate file.
Bart Van Assche [Sun, 8 Jun 2008 08:09:50 +0000 (08:09 +0000)] 
Moved shell commands for running matinv to a separate file.

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

17 years agoDeclared more inline functions static, such that the compiler can omit the out-of...
Bart Van Assche [Sun, 8 Jun 2008 08:08:31 +0000 (08:08 +0000)] 
Declared more inline functions static, such that the compiler can omit the out-of-line code.

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

17 years agoReorganized SPLASH-2 benchmarking script.
Bart Van Assche [Sat, 7 Jun 2008 11:40:14 +0000 (11:40 +0000)] 
Reorganized SPLASH-2 benchmarking script.

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

17 years agoSplit long line.
Bart Van Assche [Sat, 7 Jun 2008 10:43:26 +0000 (10:43 +0000)] 
Split long line.

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

17 years ago- Output is now saved in a ${PROGRAM}.out file.
Bart Van Assche [Sat, 7 Jun 2008 10:42:52 +0000 (10:42 +0000)] 
- Output is now saved in a ${PROGRAM}.out file.
- Next to --check-stack-var=no, DRD with --check-stack-var=yes is also
  timed.
- Added timing results for DRD compiled with gcc 4.2.1.
- Cache size specified to SPLASH-2 programs is now half of the CPU L2
  cache instead of the whole cache.
- Removed command-line argument from CHOLESKY run that was not
  understood by that program.
- Changed FFT problem size from -m20 to -m18 such that it fits in 2 GB
  RAM.

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

17 years agoEnabled more inlining.
Bart Van Assche [Sat, 7 Jun 2008 10:26:31 +0000 (10:26 +0000)] 
Enabled more inlining.

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

17 years agoSpeed up analysis of programs that access the thread stack intensively.
Bart Van Assche [Fri, 6 Jun 2008 14:31:36 +0000 (14:31 +0000)] 
Speed up analysis of programs that access the thread stack intensively.

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

17 years agoEnable more optimization opportunities.
Bart Van Assche [Fri, 6 Jun 2008 10:18:24 +0000 (10:18 +0000)] 
Enable more optimization opportunities.

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

17 years agoThe run-splash2 script now works regardless from which directory it is started in.
Bart Van Assche [Fri, 6 Jun 2008 10:17:26 +0000 (10:17 +0000)] 
The run-splash2 script now works regardless from which directory it is started in.

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

17 years agoRemoved duplicate invocation of radiosity. Updated results after optimizations.
Bart Van Assche [Thu, 5 Jun 2008 13:47:15 +0000 (13:47 +0000)] 
Removed duplicate invocation of radiosity. Updated results after optimizations.

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

17 years agoUse same inputs as in ITC paper for water-nsquared and water-spatial.
Bart Van Assche [Thu, 5 Jun 2008 10:14:53 +0000 (10:14 +0000)] 
Use same inputs as in ITC paper for water-nsquared and water-spatial.

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

17 years agoJoined if-statements.
Bart Van Assche [Thu, 5 Jun 2008 09:01:52 +0000 (09:01 +0000)] 
Joined if-statements.

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

17 years agoManual inlining.
Bart Van Assche [Thu, 5 Jun 2008 08:53:42 +0000 (08:53 +0000)] 
Manual inlining.

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

17 years agoIntroduced bm_access_*_triggers_conflict() functions.
Bart Van Assche [Thu, 5 Jun 2008 08:29:53 +0000 (08:29 +0000)] 
Introduced bm_access_*_triggers_conflict() functions.

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

17 years agoEnabled parallel compilation.
Bart Van Assche [Wed, 4 Jun 2008 18:57:08 +0000 (18:57 +0000)] 
Enabled parallel compilation.

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

17 years agoDocumentation updates.
Bart Van Assche [Wed, 4 Jun 2008 18:08:10 +0000 (18:08 +0000)] 
Documentation updates.

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

17 years agoAdded more SPLASH-2 tests.
Bart Van Assche [Wed, 4 Jun 2008 13:02:22 +0000 (13:02 +0000)] 
Added more SPLASH-2 tests.

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

17 years agoSync with 3_3_BRANCH.
Julian Seward [Wed, 4 Jun 2008 11:47:51 +0000 (11:47 +0000)] 
Sync with 3_3_BRANCH.

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

17 years agoTry to make this test more consistent across different machines.
Nicholas Nethercote [Wed, 4 Jun 2008 09:41:53 +0000 (09:41 +0000)] 
Try to make this test more consistent across different machines.

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

17 years agoFollowup to r8178: don't segfault if VG_(clo_log_name) is NULL.
Julian Seward [Wed, 4 Jun 2008 09:07:36 +0000 (09:07 +0000)] 
Followup to r8178: don't segfault if VG_(clo_log_name) is NULL.

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

17 years agoReinstate printing of log-file-qualifiers in XML output (Ashley Pittman).
Julian Seward [Wed, 4 Jun 2008 06:51:58 +0000 (06:51 +0000)] 
Reinstate printing of log-file-qualifiers in XML output (Ashley Pittman).

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

17 years agoAdd '*flags |= SfMayBlock' to PRE(sys_sync_file_range).
Julian Seward [Wed, 4 Jun 2008 06:49:56 +0000 (06:49 +0000)] 
Add '*flags |= SfMayBlock' to PRE(sys_sync_file_range).

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

17 years agoImport recent suppression upgrades from 3_3_BRANCH:
Julian Seward [Tue, 3 Jun 2008 20:58:46 +0000 (20:58 +0000)] 
Import recent suppression upgrades from 3_3_BRANCH:
revs 8163 8166 8167 8168.

Also, mention glibc-2.X.supp.in in Makefile.am so it gets included
in the distro tarball.

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

17 years agoAdded Cholesky and FFT.
Bart Van Assche [Tue, 3 Jun 2008 15:12:59 +0000 (15:12 +0000)] 
Added Cholesky and FFT.

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

17 years agoMade script more robusts. Ratio is now always computed relative to the non-Valgrind...
Bart Van Assche [Tue, 3 Jun 2008 11:41:19 +0000 (11:41 +0000)] 
Made script more robusts. Ratio is now always computed relative to the non-Valgrind single-CPU run.

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

17 years agoModified TLS-test slightly: the program checking for TLS support is now compiled...
Bart Van Assche [Mon, 2 Jun 2008 07:14:20 +0000 (07:14 +0000)] 
Modified TLS-test slightly: the program checking for TLS support is now compiled, linked and run when compiling natively and compiled and linked only when cross-compiling. Before it was compiled and linked only, both for native and cross-compilation.

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

17 years agoTry to make these tests more reliable for different machines.
Nicholas Nethercote [Sun, 1 Jun 2008 22:49:25 +0000 (22:49 +0000)] 
Try to make these tests more reliable for different machines.

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

17 years agoChanged _Spec::mandatory from HChar* into const HChar*. If no symbol information...
Bart Van Assche [Sun, 1 Jun 2008 16:33:37 +0000 (16:33 +0000)] 
Changed _Spec::mandatory from HChar* into const HChar*. If no symbol information is found in ld.so during startup of the exp-drd tool, let Valgrind abort and print an informative error message.

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

17 years agoAdded intercepts for strlen() and strnlen().
Bart Van Assche [Sun, 1 Jun 2008 08:48:48 +0000 (08:48 +0000)] 
Added intercepts for strlen() and strnlen().

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

17 years agoFixed typo.
Bart Van Assche [Sun, 1 Jun 2008 07:33:14 +0000 (07:33 +0000)] 
Fixed typo.

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

17 years agoUpdate.
Julian Seward [Sat, 31 May 2008 08:33:59 +0000 (08:33 +0000)] 
Update.

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

17 years ago- Replaced algorithm for suppressing false positives on symbol
Bart Van Assche [Sat, 31 May 2008 07:55:51 +0000 (07:55 +0000)] 
- Replaced algorithm for suppressing false positives on symbol
  relocations: instead of not instrumenting code in .plt sections (which
  is x86 specific), suppress all data accesses to .plt and .got.plt
  sections (which works both on x86 and on PowerPC).
- A warning is now printed upon startup to inform users about false
  positives which will be reported on PowerPC because with the current
  version of VEX it is impossible for tools to recognize atomic PowerPC
  instructions as such.

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

17 years agoDon't complain on .got.plt sections of size zero. Apparently such
Bart Van Assche [Fri, 30 May 2008 13:21:13 +0000 (13:21 +0000)] 
Don't complain on .got.plt sections of size zero. Apparently such
sections are generated by older toolchains (binutils 2.15.90.0.3 ?)

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

17 years agoUpdated scripts for running SPLASH-2.
Bart Van Assche [Fri, 30 May 2008 09:52:13 +0000 (09:52 +0000)] 
Updated scripts for running SPLASH-2.

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

17 years agoupdate
Nicholas Nethercote [Thu, 29 May 2008 23:18:18 +0000 (23:18 +0000)] 
update

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

17 years agoFix a bug in Massif and Cachegrind, whereby if program's forked, the child
Nicholas Nethercote [Thu, 29 May 2008 23:09:52 +0000 (23:09 +0000)] 
Fix a bug in Massif and Cachegrind, whereby if program's forked, the child
wrote into the parent's output file even if %p was specified.

Josef, I think Callgrind does not have this bug, but you might want to say
something about forking in the manual, as I have done for Massif and
Cachegrind.

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

17 years agoAllow 64-byte line sizes (PA6T cpu).
Julian Seward [Thu, 29 May 2008 16:39:57 +0000 (16:39 +0000)] 
Allow 64-byte line sizes (PA6T cpu).

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

17 years agoMake the size calculations inside VG_(mallinfo) 64-bit clean.
Julian Seward [Thu, 29 May 2008 13:45:49 +0000 (13:45 +0000)] 
Make the size calculations inside VG_(mallinfo) 64-bit clean.

I don't really understand how 'struct mallinfo' makes any sense on a
64-bit platform given that all the field sizes are 32-bit ints, and
surely at least .arena and .uordblocks and probably others could
easily exceed 32-bit range.

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

17 years agoMore fiddling with the sys_signalfd wrapper.
Julian Seward [Thu, 29 May 2008 12:56:08 +0000 (12:56 +0000)] 
More fiddling with the sys_signalfd wrapper.

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

17 years agoIn the leak checker, don't assert when there are multiple identical
Julian Seward [Thu, 29 May 2008 12:23:24 +0000 (12:23 +0000)] 
In the leak checker, don't assert when there are multiple identical
blocks in the lc_shadows array.  Such a situation could arise from
incorrect use of VALGRIND_MALLOCLIKE_BLOCK, and has been observed to
cause assertion failures for some runs of Wine on Valgrind.

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

17 years agoMake sure the debug information is read before a tool is notified about an mmap(...
Bart Van Assche [Thu, 29 May 2008 08:52:44 +0000 (08:52 +0000)] 
Make sure the debug information is read before a tool is notified about an mmap() system call.

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

17 years agoAdded to repository.
Bart Van Assche [Thu, 29 May 2008 08:34:27 +0000 (08:34 +0000)] 
Added to repository.

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

17 years agoAdd initial glibc-2.8 support for Helgrind.
Julian Seward [Thu, 29 May 2008 07:26:28 +0000 (07:26 +0000)] 
Add initial glibc-2.8 support for Helgrind.

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

17 years agoRefinements: added check for /usr/include/tiffio.h and added compiler flag -g3.
Bart Van Assche [Wed, 28 May 2008 13:38:15 +0000 (13:38 +0000)] 
Refinements: added check for /usr/include/tiffio.h and added compiler flag -g3.

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

17 years agoTidy up timerfd wrapper stuff a bit:
Julian Seward [Wed, 28 May 2008 11:06:08 +0000 (11:06 +0000)] 
Tidy up timerfd wrapper stuff a bit:

* make linux_kernel_2_6_22 return Bool

* linux_kernel_2_6_22: don't assert if /proc/sys/kernel/osrelease
  can't be opened

* PRE(sys_timerfd_create), PRE(sys_signalfd):
  use %ld for Word arguments, and use house types

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

17 years agoSeveral reader-writer lock related fixes.
Bart Van Assche [Wed, 28 May 2008 08:38:18 +0000 (08:38 +0000)] 
Several reader-writer lock related fixes.

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

17 years agoRemoved the superfluous casts that were introduced in r8132.
Bart Van Assche [Wed, 28 May 2008 07:09:54 +0000 (07:09 +0000)] 
Removed the superfluous casts that were introduced in r8132.

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

17 years agoAdd a missing case and remove the bogus associated comment.
Julian Seward [Tue, 27 May 2008 16:08:24 +0000 (16:08 +0000)] 
Add a missing case and remove the bogus associated comment.

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

17 years agoMake the rlimit_nofile regression tests less system dependent.
Bart Van Assche [Tue, 27 May 2008 13:40:36 +0000 (13:40 +0000)] 
Make the rlimit_nofile regression tests less system dependent.

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

17 years agoMake the fdleak regression tests less system dependent.
Bart Van Assche [Tue, 27 May 2008 12:33:29 +0000 (12:33 +0000)] 
Make the fdleak regression tests less system dependent.

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

17 years agosys_timerfd() and sys_signalfd() wrappers now interpret their first argument consiste...
Bart Van Assche [Mon, 26 May 2008 17:16:08 +0000 (17:16 +0000)] 
sys_timerfd() and sys_signalfd() wrappers now interpret their first argument consistently as signed instead of unsigned. Fixes #162663.

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

17 years agoUpdated to do list.
Bart Van Assche [Sun, 25 May 2008 18:11:32 +0000 (18:11 +0000)] 
Updated to do list.

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

17 years agoAdded support for the fadvise64() system call on ppc64.
Bart Van Assche [Sun, 25 May 2008 18:09:11 +0000 (18:09 +0000)] 
Added support for the fadvise64() system call on ppc64.

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

17 years agoUpdated to do list.
Bart Van Assche [Sun, 25 May 2008 18:02:11 +0000 (18:02 +0000)] 
Updated to do list.

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

17 years ago#define HAS_ALTIVEC is now fetched from config.h instead of from Makefile.am.
Bart Van Assche [Sun, 25 May 2008 16:43:15 +0000 (16:43 +0000)] 
#define HAS_ALTIVEC is now fetched from config.h instead of from Makefile.am.

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

17 years ago- Added support for querying information about .plt sections.
Bart Van Assche [Sun, 25 May 2008 16:37:22 +0000 (16:37 +0000)] 
- Added support for querying information about .plt sections.
- Added support for .got.plt sections.

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

17 years agoBug fixes (not in bugzilla):
Bart Van Assche [Sun, 25 May 2008 16:25:51 +0000 (16:25 +0000)] 
Bug fixes (not in bugzilla):
- Make sure that Valgrind does not complain when it tries to read the
  debug information of a file of size zero when such a file is mmap()'ed
  into memory.
- Make sure the filename is included in the error message that is
  printed when reading the debug information fails for a file that is mmap()'ed
  into memory.
- Fixed assertion failure that was triggered by supplying an output
  buffer to VG_(seginfo_sect_kind)() that is smaller than the filename
  to be copied into that buffer.

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

17 years agoRemoved ppc debug print statements.
Bart Van Assche [Sun, 25 May 2008 16:01:52 +0000 (16:01 +0000)] 
Removed ppc debug print statements.

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

17 years agoRemoved superfluous #include directive.
Bart Van Assche [Sun, 25 May 2008 16:01:03 +0000 (16:01 +0000)] 
Removed superfluous #include directive.

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

17 years agoLet the configure script recognize the AR variable, such that the name of the archive...
Bart Van Assche [Sun, 25 May 2008 15:58:11 +0000 (15:58 +0000)] 
Let the configure script recognize the AR variable, such that the name of the archiver can be specified at configure time. Changed test for TLS-support from AC_RUN_IFELSE to AC_LINK_IFELSE. Both changes are necessary to make cross-compilation possible.

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

17 years agoAdded to repository.
Bart Van Assche [Sun, 25 May 2008 11:07:41 +0000 (11:07 +0000)] 
Added to repository.

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