Julian Seward
f9a9e03c7a
Merge in function wrapping support from the FNWRAP branch. That
...
branch hereby becomes inactive. This currently breaks everything
except x86; fixes for amd64/ppc32 to follow.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5520
2006-01-12 12:32:32 +00:00
Julian Seward
5666b3322d
Make this test 64-bit clean.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5505
2006-01-07 22:33:45 +00:00
Julian Seward
cc9a4e788c
Fix a casting bug in the LOADV8 slow (misaligned) case spotted by Nick.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5500
2006-01-05 14:09:46 +00:00
Julian Seward
db09b4e6a9
Build fix for oset_test following recent build system hackery.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5497
2006-01-04 04:23:30 +00:00
Julian Seward
dd3b4bf6f2
amd64-linux adjustments as a followup to r5493.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5494
2006-01-04 02:55:03 +00:00
Julian Seward
32f134b8c1
Somewhat rehash the biarch-build machinery so as to (1) formalise the
...
distinction between primary and secondary build targets, and (2) make
it independent of the default behaviour of gcc (iow, what gcc does
when you specify neither -m32 nor -m64).
As a result, an out-of-the-box build on ppc64-linux now builds a
system which is basically for 64-bit PowerPC, but also has the ability
to run 32-bit ppc-linux binaries (exactly the same arrangement as you
get when building on amd64-linux).
There are various twists and turns. multiple-architectures.txt is
updated all the gory details.
This will break amd64 builds until such time as
<tool>/tests/{amd64,x86}/Makefile.am are fixed up (shortly).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5493
2006-01-04 01:20:28 +00:00
Julian Seward
79580b7fae
Make this work on SSE1-only machines.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5469
2006-01-01 18:26:40 +00:00
Julian Seward
c9ce29cc18
Also do sse memory overrun tests on x86.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5467
2006-01-01 15:22:16 +00:00
Julian Seward
80bbb1aa75
Add a test program which checks for memory overruns in the SSE insn
...
decoder.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5466
2006-01-01 14:27:04 +00:00
Nicholas Nethercote
cda6b9e79b
Update for recent change to OSet interface.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5437
2005-12-25 06:30:34 +00:00
Julian Seward
2235ef1e72
Handle ppc64-related primops.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5420
2005-12-23 12:47:16 +00:00
Julian Seward
803a8f2100
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
2005-12-23 02:29:58 +00:00
Julian Seward
ea279c7b15
Handle CmpORD64{U,S} as ppc64 requires those.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5415
2005-12-23 00:16:24 +00:00
Nicholas Nethercote
1decf7621a
Add a destructor function to OSet_Destroy() which can be called for each
...
node.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5402
2005-12-22 06:20:59 +00:00
Nicholas Nethercote
798fba1991
Remove remaining profiling gunk from Memcheck.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5387
2005-12-19 22:48:06 +00:00
Nicholas Nethercote
c2e79c35e4
Remove the old profiling stuff from Memcheck.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5385
2005-12-19 22:23:35 +00:00
Nicholas Nethercote
fd4241f3f6
Clarify leak checker output.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5378
2005-12-19 19:33:36 +00:00
Tom Hughes
9a850246f9
Fixed to check whether __builtin_expect is supported before using it.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5372
2005-12-19 12:40:13 +00:00
Julian Seward
d3781fc974
Duh, remove debug printing. Duh.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5370
2005-12-18 03:59:16 +00:00
Julian Seward
d2de349f96
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
2005-12-18 02:48:40 +00:00
Julian Seward
89add09cf8
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
2005-12-18 02:37:50 +00:00
Cerion Armour-Brown
b714685c63
Take ppc64 startup further along the road
...
- fixed launcher.c to recognise ppc32/64-linux platforms properly
- lots of assembly fixes to handle func descriptors, toc references, 64bit regs.
- fixed var types in vki-ppc64-linux
Now gets as far as VG_(translate), but dies from a case of invalid orig_addr.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5299
2005-12-06 19:07:08 +00:00
Donna Robinson
9888e86b06
Tidying up stuff re generating manpage from *.xml docs
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5277
2005-12-03 23:02:33 +00:00
Julian Seward
f75620d58a
Add directories missed in r5250 (ppc64 first checkin).
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5251
2005-11-29 13:53:48 +00:00
Julian Seward
8ba9a34088
Add framework for ppc64 support. Apologies in advance for the
...
inevitable breakage to other platforms.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5250
2005-11-29 13:05:56 +00:00
Donna Robinson
9718e2344e
mc-tech-docs.xml
...
- removed ref to cachegrind.org
vg-html-website.xsl
vg-html-chunk.xsl
- common stuff stripped out, and placed in
vg-html-common.xsl
vg-entities.xml
- added 2 more website url entities to replace hard-coded urls
in FAQ.xml
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5240
2005-11-27 18:19:40 +00:00
Julian Seward
0a24c03427
Fix obscure memcheck bug found by Nick. This could cause false
...
negatives, but only in the following unlikely circumstances: for an
8-byte store, which is handled by by the slow path (due to
misalignment or incomplete addressibility). In this case, the bug
caused the top 32 of the written V bits to be forced to zero
("defined"). This would not have affected the vast majority of 8-byte
stores since almost all of them would either have been handled by the
fast case or would have the top 32 V bits as zero anyway (almost
certainly both).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5222
2005-11-20 19:08:08 +00:00
Julian Seward
34223837ae
Add a few missing regtest outputs.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5203
2005-11-19 01:32:17 +00:00
Donna Robinson
81d6ed4433
Minor doc tweaks, mostly white space
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5201
2005-11-18 22:09:58 +00:00
Tom Hughes
0559acb82e
Last of the __libc_start_main fixes.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5188
2005-11-18 09:39:09 +00:00
Tom Hughes
aebc25f648
Yet more __libc_start_main updates.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5187
2005-11-18 09:30:15 +00:00
Tom Hughes
e9caa19ea2
Update XML results for __libc_start_main change.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5186
2005-11-18 09:26:14 +00:00
Tom Hughes
9b986200b4
Fix argument count given to makecontext.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5185
2005-11-18 09:24:05 +00:00
Tom Hughes
ef88a060c3
Update some expected results in line with Julian's fix to stop
...
tracing the stack at __libc_start_main.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5183
2005-11-18 09:03:47 +00:00
Nicholas Nethercote
7b38a8d2ce
comment about the test
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5181
2005-11-17 21:33:42 +00:00
Nicholas Nethercote
1f6671bec4
wibl
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5179
2005-11-17 19:47:37 +00:00
Julian Seward
ef209b1a5c
gcc isn't so hot at reading English text
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5178
2005-11-17 19:44:27 +00:00
Nicholas Nethercote
24e2b8b838
copy log message as a comment
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5176
2005-11-17 19:38:09 +00:00
Julian Seward
27599310f4
Allocate stack with mmap rather than malloc, so that on ppc32 we get an executable
...
stack.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5174
2005-11-17 19:32:07 +00:00
Julian Seward
4114af1340
This won't work on ppc32 unless you ask for an alt stack with x permissions,
...
since signal returning requires execution of code on the stack.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5167
2005-11-17 13:04:46 +00:00
Julian Seward
3906739a17
A couple of these syscalls fail differently when running on an amd64
...
in 32-bit mode.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5158
2005-11-17 03:08:16 +00:00
Cerion Armour-Brown
2570833d92
Added fp vector conversion/rounding irops to memcheck
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5149
2005-11-16 17:21:49 +00:00
Tom Hughes
30b052dcab
Update XML results.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5145
2005-11-16 16:54:02 +00:00
Julian Seward
d07dbe4a52
Complete documentation trawl for 3.1.0.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5137
2005-11-15 20:56:23 +00:00
Nicholas Nethercote
a26bd07b31
Remove horribly out-of-date comment.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5132
2005-11-15 02:24:57 +00:00
Nicholas Nethercote
2cfef08f2b
Make this test compile on my machine.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5128
2005-11-14 15:35:20 +00:00
Cerion Armour-Brown
5347fb4a96
Couple more irops for memcheck.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5121
2005-11-14 03:00:35 +00:00
Tom Hughes
1c9cd914fb
Use the amd64 tests on amd64, not the x86 ones...
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5096
2005-11-12 15:50:24 +00:00
Tom Hughes
2b7f58a0b0
Add a filter for the amd64 tests.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5095
2005-11-12 15:48:50 +00:00
Tom Hughes
8abba99aa0
Run instruction tests under memcheck as well as none.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5094
2005-11-12 15:46:17 +00:00