Nicholas Nethercote
9633a4c11d
DARWIN sync: all the timeval stuff
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10106
2009-05-22 08:12:46 +00:00
Nicholas Nethercote
9ab6c5f5a0
DARWIN sync: increase the limit before we complain about large regions being
...
changed.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10011
2009-05-20 03:44:09 +00:00
Nicholas Nethercote
8c62b7fd36
DARWIN sync wibble.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9929
2009-05-19 02:10:26 +00:00
Nicholas Nethercote
6311a67c7e
DARWIN sync wibble.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9926
2009-05-19 02:08:25 +00:00
Nicholas Nethercote
0ebee25c3e
Merge r9324 (bug152022 portability fix) from the DARWIN branch.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9917
2009-05-19 01:17:09 +00:00
Nicholas Nethercote
ff46ba2a27
Sync trunk with DARWIN branch.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9915
2009-05-19 01:10:31 +00:00
Nicholas Nethercote
6b7f22a5d7
Merge part of r9140 (filter_xml tweak) from the DARWIN branch.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9913
2009-05-19 01:00:59 +00:00
Nicholas Nethercote
9551ec33fa
Minor trunk/DARWIN sync.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9911
2009-05-19 00:54:19 +00:00
Nicholas Nethercote
8795795b55
Merge r9900 (make dist fixes) from the MESSAGING_TIDYUP branch.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9905
2009-05-18 23:24:26 +00:00
Nicholas Nethercote
7f0f76c228
Fix some broken XML tags.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9901
2009-05-18 23:03:52 +00:00
Nicholas Nethercote
612322bbbd
Merge parts of r9775, r9777, r9789, r9794 from the DARWIN branch.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9883
2009-05-18 04:41:48 +00:00
Nicholas Nethercote
131ab00744
Merged non-Darwin-specific parts of r9397,r9423,r9490, 9461, 9462 from the
...
DARWIN branch. A big ugly DARWIN/trunk sync commit, mostly to do with
changing the representation of SysRes and vki_sigset_t. Functionality of
the trunk shouldn't be changed by it.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9876
2009-05-18 02:12:08 +00:00
Nicholas Nethercote
6378dfe575
Created a new module, m_aspacehl. Factored out three(!) copies of
...
get_seg_starts() into it.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9796
2009-05-08 00:39:31 +00:00
Nicholas Nethercote
1f2db66545
Make loss record ordering more deterministic, so that regtests are reliable.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9784
2009-05-06 06:52:47 +00:00
Nicholas Nethercote
8d8380acb9
Change a #include to make the test more portable.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9782
2009-05-06 06:27:19 +00:00
Nicholas Nethercote
fbe37d96a8
Fix bug #191182 , where printing the leak checker results was really slow if
...
there were a lot of loss records.
The fix was:
- Avoid the O(m * n) looping over the chunks when creating the loss
records, by putting loss records into an OSet instead of a list, which
makes duplicate detection for each chunk an O(log n) operation instead of
an O(n) operation.
- Avoid the looping over loss records which was used to do a poor
man's sort, but was O(n^2). Instead copy pointers to the loss records
from the OSet into an array and sort it normally with VG_(ssort) (n log n,
usually) before printing.
This approach was similar to that used in the patch Philippe attached to the
bug report.
Other changes:
- Added Philippe's test programs in the new memcheck/perf directory. It
used to take 57s on my machine, now it takes 1.6s.
- Cleaned up massif/perf/Makefile.am to be consistent with other Makefiles.
- Improved some comments relating to VgHashTable and OSet.
- Avoided a redundant traversal of the hash table in VG_(HT_to_array), also
identified by Philippe..
- Made memcheck/tests/mempool's results independent of the pointer size, and
thus was able to remove its .stderr.exp64 file.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9781
2009-05-06 06:15:55 +00:00
Nicholas Nethercote
62444884d4
Merge r9761 (fix a comment) from the trunk.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9763
2009-05-04 06:46:31 +00:00
Nicholas Nethercote
57a42692d9
Don't compile Linux-only redirects on non-Linux platforms.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9745
2009-05-04 04:20:02 +00:00
Nicholas Nethercote
fe8a8345ee
Remove unused .exp files for sigkill.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9743
2009-05-04 01:30:39 +00:00
Nicholas Nethercote
97e628e4be
Merged r9741 (make post-syscall more portable) from the DARWIN branch.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9742
2009-05-04 01:17:56 +00:00
Bart Van Assche
5c2c273c6f
Compiles now on RHEL 5.3 systems. In the RHEL 5.3 headers __NR_timerfd_create is defined but neither __NR_timerfd_settime nor __NR_timerfd_gettime.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9710
2009-05-01 11:54:07 +00:00
Nicholas Nethercote
5a682bb3cf
Renamed various things for clarity. Added some comments. And fixed the
...
dubious find-minimum-loss-record loop in print_results(), which was using an
inconsistent mixture of szB and szB+indirect_szB.
Two test results changed, just different sort orders for same-sized loss
records.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9704
2009-05-01 00:30:43 +00:00
Nicholas Nethercote
af09b2fa03
Fix test breakage caused by r9694.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9697
2009-04-30 05:09:09 +00:00
Nicholas Nethercote
ce4aed0d85
Use -q on varinfo tests to avoid platform-specific differences in number of
...
allocations. This allowed two .stderr.exp files to be merged for varinfo6.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9681
2009-04-29 23:21:46 +00:00
Nicholas Nethercote
c601f8a1e4
Merged r9653..r9655 (fixed terminal signal handling in Darwin) from DARWIN
...
branch.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9656
2009-04-28 01:55:01 +00:00
Nicholas Nethercote
b46800c8b7
Merge r9614 (make more_x86_fp compile on darwin) from the DARWIN branch.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9651
2009-04-27 22:50:26 +00:00
Nicholas Nethercote
78a2b63b4c
Merge r9621 (move int3-x86 into x86-linux/) from the DARWIN branch.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9623
2009-04-25 03:17:22 +00:00
Nicholas Nethercote
10ef1684d8
Merge r9619 (fix more_x86_fp on Darwin) from the DARWIN branch.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9620
2009-04-25 00:07:37 +00:00
Nicholas Nethercote
3faa928027
Unbreak pushfpopf on Linux.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9617
2009-04-24 23:49:58 +00:00
Nicholas Nethercote
8563ddc39b
Merge r9612 (make pushfpopf work on Darwin) from the DARWIN branch.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9613
2009-04-24 21:49:11 +00:00
Nicholas Nethercote
32bd1a00c2
Merge r9610 (AM_CCASFLAGS tweaks for test Makefiles) from the DARWIN branch.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9611
2009-04-24 20:17:07 +00:00
Nicholas Nethercote
97a1106e27
Merge r9605 (make tronical work on Darwin) from the DARWIN branch.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9606
2009-04-24 07:24:05 +00:00
Nicholas Nethercote
3b383dab10
Merged r9602 and r9603 (make cpuid pass on Darwin, rename .s files to .S)
...
from the DARWIN branch.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9604
2009-04-24 07:12:39 +00:00
Nicholas Nethercote
4481c22c52
Move with-space to linux/, because it's hard to replicate on Darwin.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9569
2009-04-17 06:52:10 +00:00
Nicholas Nethercote
7731625a92
Remove nanoleak.vgtest, it's a trivial test. nanoleak.c is used by
...
nanoleak_supp.vgtest, however, so rename it nanoleak_supp.c to make the
connection more obvious.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9562
2009-04-16 01:28:08 +00:00
Nicholas Nethercote
13e765c304
Merged r9546..r9548 (moved blockfault, and filtering fixes) from the DARWIN
...
branch.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9549
2009-04-15 07:11:36 +00:00
Nicholas Nethercote
1d78658d98
Merged r9543 (make xor-undef-x86 work on Darwin) from the DARWIN branch.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9545
2009-04-15 05:38:42 +00:00
Nicholas Nethercote
f3f801ed48
Merge r9533..9536 (add tests/{asm.h,sys_mman.h,malloc.h} from the DARWIN
...
branch.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9537
2009-04-15 03:12:43 +00:00
Julian Seward
e1eec7ec8d
Handle new pseudo-register IP_AT_SYSCALL when origin-tracking is
...
enabled. Fixes #188161 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9497
2009-03-30 02:27:29 +00:00
Julian Seward
563511a64e
Track renaming of guest_CIA_AT_SC to guest_IP_AT_SYSCALL (vex r1886).
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9468
2009-03-20 00:28:50 +00:00
Nicholas Nethercote
f3630f66e8
This should have gone in with the last commit.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9422
2009-03-16 01:00:35 +00:00
Nicholas Nethercote
c78a4f9c30
- Turn exit_group() into exit() in the Memcheck filter, for greater
...
determinism and portability.
- Update the xml1 .exp files accordingly (getting rid of one which is no
longer necessary).
- Update origin4-many.stderr.exp accordingly.
- Update the handling of scalar_exit_group accordingly.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9421
2009-03-16 00:59:17 +00:00
Nicholas Nethercote
02c66cc57f
Merge r9419 (make describe-block portable) from the DARWIN branch.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9420
2009-03-15 23:59:13 +00:00
Nicholas Nethercote
b15e3d9a45
Fix all the non-VEX problems identified with the Clang Static Analyzer.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9416
2009-03-15 23:25:38 +00:00
Nicholas Nethercote
44301100b5
Added better filtering for Helgrind tests, removing all unreliable stack
...
traces, and a few other unreliable pieces. This allowed most of the tests
to be reduced to a single .stderr.exp file. It also means that all Helgrind
tests succeed on my AMD64/Linux box when configured with --enable-only32bit,
whereas previously 20 of them failed.
Also tweaked a couple non-Helgrind filters a tiny bit.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9389
2009-03-13 01:41:03 +00:00
Nicholas Nethercote
e39c78cb35
Another filter_xml update.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9376
2009-03-12 05:50:51 +00:00
Nicholas Nethercote
190ad4143e
- Removed leakotron. It was not a very useful test, and hard to make
...
portable.
- Rewrote leak-tree to be deterministic and clearer.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9372
2009-03-12 03:00:05 +00:00
Bart Van Assche
f8080bd125
Un-break 'make dist'.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9360
2009-03-11 18:30:59 +00:00
Nicholas Nethercote
1215cfe0d1
Another regtest fix for machines with debug info installed for libc.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9356
2009-03-11 06:12:59 +00:00
Nicholas Nethercote
39785f4f5d
Make the leak-cases tests more robust.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9351
2009-03-10 23:08:02 +00:00