You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(122) |
Nov
(152) |
Dec
(69) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(6) |
Feb
(25) |
Mar
(73) |
Apr
(82) |
May
(24) |
Jun
(25) |
Jul
(10) |
Aug
(11) |
Sep
(10) |
Oct
(54) |
Nov
(203) |
Dec
(182) |
| 2004 |
Jan
(307) |
Feb
(305) |
Mar
(430) |
Apr
(312) |
May
(187) |
Jun
(342) |
Jul
(487) |
Aug
(637) |
Sep
(336) |
Oct
(373) |
Nov
(441) |
Dec
(210) |
| 2005 |
Jan
(385) |
Feb
(480) |
Mar
(636) |
Apr
(544) |
May
(679) |
Jun
(625) |
Jul
(810) |
Aug
(838) |
Sep
(634) |
Oct
(521) |
Nov
(965) |
Dec
(543) |
| 2006 |
Jan
(494) |
Feb
(431) |
Mar
(546) |
Apr
(411) |
May
(406) |
Jun
(322) |
Jul
(256) |
Aug
(401) |
Sep
(345) |
Oct
(542) |
Nov
(308) |
Dec
(481) |
| 2007 |
Jan
(427) |
Feb
(326) |
Mar
(367) |
Apr
(255) |
May
(244) |
Jun
(204) |
Jul
(223) |
Aug
(231) |
Sep
(354) |
Oct
(374) |
Nov
(497) |
Dec
(362) |
| 2008 |
Jan
(322) |
Feb
(482) |
Mar
(658) |
Apr
(422) |
May
(476) |
Jun
(396) |
Jul
(455) |
Aug
(267) |
Sep
(280) |
Oct
(253) |
Nov
(232) |
Dec
(304) |
| 2009 |
Jan
(486) |
Feb
(470) |
Mar
(458) |
Apr
(423) |
May
(696) |
Jun
(461) |
Jul
(551) |
Aug
(575) |
Sep
(134) |
Oct
(110) |
Nov
(157) |
Dec
(102) |
| 2010 |
Jan
(226) |
Feb
(86) |
Mar
(147) |
Apr
(117) |
May
(107) |
Jun
(203) |
Jul
(193) |
Aug
(238) |
Sep
(300) |
Oct
(246) |
Nov
(23) |
Dec
(75) |
| 2011 |
Jan
(133) |
Feb
(195) |
Mar
(315) |
Apr
(200) |
May
(267) |
Jun
(293) |
Jul
(353) |
Aug
(237) |
Sep
(278) |
Oct
(611) |
Nov
(274) |
Dec
(260) |
| 2012 |
Jan
(303) |
Feb
(391) |
Mar
(417) |
Apr
(441) |
May
(488) |
Jun
(655) |
Jul
(590) |
Aug
(610) |
Sep
(526) |
Oct
(478) |
Nov
(359) |
Dec
(372) |
| 2013 |
Jan
(467) |
Feb
(226) |
Mar
(391) |
Apr
(281) |
May
(299) |
Jun
(252) |
Jul
(311) |
Aug
(352) |
Sep
(481) |
Oct
(571) |
Nov
(222) |
Dec
(231) |
| 2014 |
Jan
(185) |
Feb
(329) |
Mar
(245) |
Apr
(238) |
May
(281) |
Jun
(399) |
Jul
(382) |
Aug
(500) |
Sep
(579) |
Oct
(435) |
Nov
(487) |
Dec
(256) |
| 2015 |
Jan
(338) |
Feb
(357) |
Mar
(330) |
Apr
(294) |
May
(191) |
Jun
(108) |
Jul
(142) |
Aug
(261) |
Sep
(190) |
Oct
(54) |
Nov
(83) |
Dec
(22) |
| 2016 |
Jan
(49) |
Feb
(89) |
Mar
(33) |
Apr
(50) |
May
(27) |
Jun
(34) |
Jul
(53) |
Aug
(53) |
Sep
(98) |
Oct
(206) |
Nov
(93) |
Dec
(53) |
| 2017 |
Jan
(65) |
Feb
(82) |
Mar
(102) |
Apr
(86) |
May
(187) |
Jun
(67) |
Jul
(23) |
Aug
(93) |
Sep
(65) |
Oct
(45) |
Nov
(35) |
Dec
(17) |
| 2018 |
Jan
(26) |
Feb
(35) |
Mar
(38) |
Apr
(32) |
May
(8) |
Jun
(43) |
Jul
(27) |
Aug
(30) |
Sep
(43) |
Oct
(42) |
Nov
(38) |
Dec
(67) |
| 2019 |
Jan
(32) |
Feb
(37) |
Mar
(53) |
Apr
(64) |
May
(49) |
Jun
(18) |
Jul
(14) |
Aug
(53) |
Sep
(25) |
Oct
(30) |
Nov
(49) |
Dec
(31) |
| 2020 |
Jan
(87) |
Feb
(45) |
Mar
(37) |
Apr
(51) |
May
(99) |
Jun
(36) |
Jul
(11) |
Aug
(14) |
Sep
(20) |
Oct
(24) |
Nov
(40) |
Dec
(23) |
| 2021 |
Jan
(14) |
Feb
(53) |
Mar
(85) |
Apr
(15) |
May
(19) |
Jun
(3) |
Jul
(14) |
Aug
(1) |
Sep
(57) |
Oct
(73) |
Nov
(56) |
Dec
(22) |
| 2022 |
Jan
(3) |
Feb
(22) |
Mar
(6) |
Apr
(55) |
May
(46) |
Jun
(39) |
Jul
(15) |
Aug
(9) |
Sep
(11) |
Oct
(34) |
Nov
(20) |
Dec
(36) |
| 2023 |
Jan
(79) |
Feb
(41) |
Mar
(99) |
Apr
(169) |
May
(48) |
Jun
(16) |
Jul
(16) |
Aug
(57) |
Sep
(32) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
1
(20) |
2
(10) |
3
(18) |
4
(10) |
5
(16) |
6
(8) |
|
7
|
8
(17) |
9
(22) |
10
(10) |
11
(9) |
12
(21) |
13
(15) |
|
14
(10) |
15
(11) |
16
(9) |
17
(13) |
18
(9) |
19
(11) |
20
(11) |
|
21
(23) |
22
(20) |
23
(10) |
24
(11) |
25
(20) |
26
(20) |
27
(21) |
|
28
(8) |
29
(7) |
30
(7) |
31
(9) |
|
|
|
|
From: <sv...@va...> - 2006-05-03 00:43:25
|
Author: sewardj
Date: 2006-05-03 01:43:20 +0100 (Wed, 03 May 2006)
New Revision: 5875
Log:
Add another test of permissions range copying (copy_address_range_perms).
Added:
trunk/memcheck/tests/pdb-realloc2.c
trunk/memcheck/tests/pdb-realloc2.stderr.exp
trunk/memcheck/tests/pdb-realloc2.stdout.exp
trunk/memcheck/tests/pdb-realloc2.vgtest
Modified:
trunk/memcheck/tests/Makefile.am
Modified: trunk/memcheck/tests/Makefile.am
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/Makefile.am 2006-05-02 13:02:01 UTC (rev 5874)
+++ trunk/memcheck/tests/Makefile.am 2006-05-03 00:43:20 UTC (rev 5875)
@@ -86,6 +86,7 @@
partial_load_ok.vgtest partial_load_ok.stderr.exp partial_load_ok.stder=
r.exp64 \
partial_load_dflt.vgtest partial_load_dflt.stderr.exp partial_load_dflt=
.stderr.exp64 \
pdb-realloc.stderr.exp pdb-realloc.vgtest \
+ pdb-realloc2.stderr.exp pdb-realloc2.stdout.exp pdb-realloc2.vgtest \
pipe.stderr.exp pipe.vgtest \
pointer-trace.vgtest \
pointer-trace.stderr.exp pointer-trace.stderr.exp64 \
@@ -150,7 +151,7 @@
nanoleak new_nothrow \
null_socket oset_test overlap \
partiallydefinedeq \
- partial_load pdb-realloc \
+ partial_load pdb-realloc pdb-realloc2 \
pipe pointer-trace \
post-syscall \
realloc1 realloc2 realloc3 \
Added: trunk/memcheck/tests/pdb-realloc2.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/pdb-realloc2.c (rev 0)
+++ trunk/memcheck/tests/pdb-realloc2.c 2006-05-03 00:43:20 UTC (rev 5875=
)
@@ -0,0 +1,111 @@
+
+/* A test which involves copying (using realloc) a block containing
+ some partially defined bytes. Really this is to check that
+ copy_address_range_perms in mc_main.c works. I don't think it's a
+ good test - it may well not exercise all the code in
+ copy_address_range_perms. */
+
+#include <assert.h>
+#include <stdlib.h>
+#include <stdio.h>
+#include "memcheck/memcheck.h"
+
+typedef unsigned char UChar;
+typedef unsigned int UInt;
+
+
+static UInt seed =3D 0;
+static inline UInt myrand ( UInt size )
+{
+ /* From "Numerical Recipes in C" 2nd Edition */
+ seed =3D 1664525UL * seed + 1013904223UL;
+ return seed % size;
+}
+
+static void barf ( int size, int offset )
+{
+ printf("pdb-realloc2: fail: size %d, offset %d\n", size,offset);
+ exit(1);
+}
+
+void do_test ( int size )
+{
+ int i,j,r;
+ UChar* v;
+ UChar* p =3D malloc(size);
+ assert(p);
+ // fill
+ seed =3D 0;
+ for (i =3D 0; i < size; i++) {
+
+ j =3D myrand( 256 * 25 );
+ //printf("%d\n", j);
+ if (j >=3D 256 * 13) {
+ // def 1s
+ p[i] =3D 0xFF;
+ } else=20
+ if (j >=3D 256 && j < 256*13) {
+ // def 0s
+ p[i] =3D 0;
+ } else {
+ // pdb
+ p[i] &=3D (UChar)j;
+ }
+
+ }
+
+ // copy
+ for (i =3D 1; i <=3D 100; i++) {
+ p =3D realloc(p, size+i);
+ assert(p);
+ }
+
+ // check
+ v =3D malloc(size+100);
+ assert(v);
+ r =3D VALGRIND_GET_VBITS(p,v, size+100);
+ assert(r =3D=3D 1);
+
+ //for (i =3D 0; i < size+100; i++)
+ // printf("%02x ", (UInt)v[i]);
+ //printf("\n");
+
+ seed =3D 0;
+ for (i =3D 0; i < size; i++) {
+
+ j =3D myrand( 256 * 25 );
+
+ if (j >=3D 256) {
+ // expecting a defined value
+ if (v[i] !=3D 0)
+ barf(size, i);
+ } else {
+ // expecting a PDB =3D=3D j
+ if (v[i] !=3D (UChar)j)
+ barf(size,i);
+ }
+
+ }
+
+ // in the extension area, everything should be undefined
+ for (i =3D 0; i < 100; i++) {
+ if (v[size+i] !=3D 0xFF)
+ barf(size, i);
+ }
+
+ free(v);
+ free(p);
+}
+
+int main ( void )
+{
+ int z;
+ for (z =3D 0; z < 100; z++) {
+ printf("pdb_realloc: z =3D %d\n", z);
+ do_test(z);
+ do_test(z + 173);
+ do_test(z + 1731);
+ }
+ printf("pdb-realloc2: done\n");
+ return 0;
+}
Added: trunk/memcheck/tests/pdb-realloc2.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Added: trunk/memcheck/tests/pdb-realloc2.stdout.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/pdb-realloc2.stdout.exp =
(rev 0)
+++ trunk/memcheck/tests/pdb-realloc2.stdout.exp 2006-05-03 00:43:20 UTC =
(rev 5875)
@@ -0,0 +1,101 @@
+pdb_realloc: z =3D 0
+pdb_realloc: z =3D 1
+pdb_realloc: z =3D 2
+pdb_realloc: z =3D 3
+pdb_realloc: z =3D 4
+pdb_realloc: z =3D 5
+pdb_realloc: z =3D 6
+pdb_realloc: z =3D 7
+pdb_realloc: z =3D 8
+pdb_realloc: z =3D 9
+pdb_realloc: z =3D 10
+pdb_realloc: z =3D 11
+pdb_realloc: z =3D 12
+pdb_realloc: z =3D 13
+pdb_realloc: z =3D 14
+pdb_realloc: z =3D 15
+pdb_realloc: z =3D 16
+pdb_realloc: z =3D 17
+pdb_realloc: z =3D 18
+pdb_realloc: z =3D 19
+pdb_realloc: z =3D 20
+pdb_realloc: z =3D 21
+pdb_realloc: z =3D 22
+pdb_realloc: z =3D 23
+pdb_realloc: z =3D 24
+pdb_realloc: z =3D 25
+pdb_realloc: z =3D 26
+pdb_realloc: z =3D 27
+pdb_realloc: z =3D 28
+pdb_realloc: z =3D 29
+pdb_realloc: z =3D 30
+pdb_realloc: z =3D 31
+pdb_realloc: z =3D 32
+pdb_realloc: z =3D 33
+pdb_realloc: z =3D 34
+pdb_realloc: z =3D 35
+pdb_realloc: z =3D 36
+pdb_realloc: z =3D 37
+pdb_realloc: z =3D 38
+pdb_realloc: z =3D 39
+pdb_realloc: z =3D 40
+pdb_realloc: z =3D 41
+pdb_realloc: z =3D 42
+pdb_realloc: z =3D 43
+pdb_realloc: z =3D 44
+pdb_realloc: z =3D 45
+pdb_realloc: z =3D 46
+pdb_realloc: z =3D 47
+pdb_realloc: z =3D 48
+pdb_realloc: z =3D 49
+pdb_realloc: z =3D 50
+pdb_realloc: z =3D 51
+pdb_realloc: z =3D 52
+pdb_realloc: z =3D 53
+pdb_realloc: z =3D 54
+pdb_realloc: z =3D 55
+pdb_realloc: z =3D 56
+pdb_realloc: z =3D 57
+pdb_realloc: z =3D 58
+pdb_realloc: z =3D 59
+pdb_realloc: z =3D 60
+pdb_realloc: z =3D 61
+pdb_realloc: z =3D 62
+pdb_realloc: z =3D 63
+pdb_realloc: z =3D 64
+pdb_realloc: z =3D 65
+pdb_realloc: z =3D 66
+pdb_realloc: z =3D 67
+pdb_realloc: z =3D 68
+pdb_realloc: z =3D 69
+pdb_realloc: z =3D 70
+pdb_realloc: z =3D 71
+pdb_realloc: z =3D 72
+pdb_realloc: z =3D 73
+pdb_realloc: z =3D 74
+pdb_realloc: z =3D 75
+pdb_realloc: z =3D 76
+pdb_realloc: z =3D 77
+pdb_realloc: z =3D 78
+pdb_realloc: z =3D 79
+pdb_realloc: z =3D 80
+pdb_realloc: z =3D 81
+pdb_realloc: z =3D 82
+pdb_realloc: z =3D 83
+pdb_realloc: z =3D 84
+pdb_realloc: z =3D 85
+pdb_realloc: z =3D 86
+pdb_realloc: z =3D 87
+pdb_realloc: z =3D 88
+pdb_realloc: z =3D 89
+pdb_realloc: z =3D 90
+pdb_realloc: z =3D 91
+pdb_realloc: z =3D 92
+pdb_realloc: z =3D 93
+pdb_realloc: z =3D 94
+pdb_realloc: z =3D 95
+pdb_realloc: z =3D 96
+pdb_realloc: z =3D 97
+pdb_realloc: z =3D 98
+pdb_realloc: z =3D 99
+pdb-realloc2: done
Added: trunk/memcheck/tests/pdb-realloc2.vgtest
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/pdb-realloc2.vgtest (rev=
0)
+++ trunk/memcheck/tests/pdb-realloc2.vgtest 2006-05-03 00:43:20 UTC (rev=
5875)
@@ -0,0 +1,2 @@
+prog: pdb-realloc2
+vgopts: -q
|
|
From: <js...@ac...> - 2006-05-02 14:44:00
|
Nightly build on minnie ( SuSE 10.0, ppc32 ) started at 2006-05-02 02:00:01 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 204 tests, 12 stderr failures, 6 stdout failures, 0 posttest failures == memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/leakotron (stdout) memcheck/tests/mempool (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/sigaltstack (stderr) memcheck/tests/stack_changes (stdout) memcheck/tests/stack_changes (stderr) memcheck/tests/xml1 (stderr) none/tests/faultstatus (stderr) none/tests/mremap (stderr) none/tests/ppc32/jm-fp (stdout) none/tests/ppc32/jm-fp (stderr) none/tests/ppc32/round (stdout) none/tests/ppc32/round (stderr) none/tests/ppc32/test_fx (stdout) none/tests/ppc32/test_fx (stderr) none/tests/ppc32/test_gx (stdout) |
|
From: <sv...@va...> - 2006-05-02 13:02:14
|
Author: sewardj Date: 2006-05-02 14:02:01 +0100 (Tue, 02 May 2006) New Revision: 5874 Log: Get rid of executable permissions on C source file. Modified: trunk/memcheck/tests/pdb-realloc.c Property changes on: trunk/memcheck/tests/pdb-realloc.c ___________________________________________________________________ Name: svn:executable - * |
|
From: <js...@ac...> - 2006-05-02 02:56:30
|
Nightly build on g5 ( YDL 4.0, ppc970 ) started at 2006-05-02 04:40:00 CEST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 210 tests, 6 stderr failures, 3 stdout failures, 0 posttest failures == memcheck/tests/deep_templates (stdout) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/leakotron (stdout) memcheck/tests/pointer-trace (stderr) none/tests/faultstatus (stderr) none/tests/fdleak_fcntl (stderr) none/tests/mremap (stderr) none/tests/ppc32/mftocrf (stdout) |
|
From: Tom H. <to...@co...> - 2006-05-02 02:46:22
|
Nightly build on dunsmere ( athlon, Fedora Core 5 ) started at 2006-05-02 03:30:06 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 236 tests, 7 stderr failures, 1 stdout failure, 0 posttest failures == memcheck/tests/mempool (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/stack_switch (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/sse1_memory (stdout) memcheck/tests/xml1 (stderr) none/tests/x86/faultstatus (stderr) none/tests/x86/int (stderr) |
|
From: Tom H. <th...@cy...> - 2006-05-02 02:34:15
|
Nightly build on alvis ( i686, Red Hat 7.3 ) started at 2006-05-02 03:15:04 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 235 tests, 21 stderr failures, 1 stdout failure, 0 posttest failures == memcheck/tests/addressable (stderr) memcheck/tests/badjump (stderr) memcheck/tests/describe-block (stderr) memcheck/tests/erringfds (stderr) memcheck/tests/leak-0 (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-regroot (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/match-overrun (stderr) memcheck/tests/mempool (stderr) memcheck/tests/partial_load_dflt (stderr) memcheck/tests/partial_load_ok (stderr) memcheck/tests/partiallydefinedeq (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/sigkill (stderr) memcheck/tests/stack_changes (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) memcheck/tests/x86/sse1_memory (stdout) memcheck/tests/xml1 (stderr) none/tests/x86/faultstatus (stderr) none/tests/x86/int (stderr) |
|
From: Tom H. <th...@cy...> - 2006-05-02 02:27:49
|
Nightly build on dellow ( x86_64, Fedora Core 5 ) started at 2006-05-02 03:10:12 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 258 tests, 5 stderr failures, 1 stdout failure, 0 posttest failures == memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/sse1_memory (stdout) memcheck/tests/xml1 (stderr) none/tests/amd64/faultstatus (stderr) none/tests/x86/faultstatus (stderr) none/tests/x86/int (stderr) |
|
From: Tom H. <th...@cy...> - 2006-05-02 02:23:55
|
Nightly build on aston ( x86_64, Fedora Core 3 ) started at 2006-05-02 03:05:11 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 258 tests, 7 stderr failures, 1 stdout failure, 0 posttest failures == memcheck/tests/stack_switch (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) memcheck/tests/x86/sse1_memory (stdout) memcheck/tests/xml1 (stderr) none/tests/amd64/faultstatus (stderr) none/tests/x86/faultstatus (stderr) none/tests/x86/int (stderr) |
|
From: Tom H. <th...@cy...> - 2006-05-02 02:14:15
|
Nightly build on gill ( x86_64, Fedora Core 2 ) started at 2006-05-02 03:00:02 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 258 tests, 7 stderr failures, 1 stdout failure, 0 posttest failures == memcheck/tests/stack_switch (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) memcheck/tests/x86/sse1_memory (stdout) none/tests/amd64/faultstatus (stderr) none/tests/fdleak_fcntl (stderr) none/tests/x86/faultstatus (stderr) none/tests/x86/int (stderr) |
|
From: <js...@ac...> - 2006-05-02 01:36:26
|
Nightly build on phoenix ( SuSE 10.0 ) started at 2006-05-02 03:30:02 BST Checking out vex source tree ... done Building vex ... done Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 234 tests, 6 stderr failures, 0 stdout failures, 0 posttest failures == memcheck/tests/leak-tree (stderr) memcheck/tests/stack_switch (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) none/tests/x86/faultstatus (stderr) none/tests/x86/int (stderr) |
|
From: Julian S. <js...@ac...> - 2006-05-02 01:30:09
|
> > Unfortunately this breaks our own stack unwind hack, in > > m_stacktrace, on x86-linux, creating less useful traces > > for stacks which end in a syscall. (This is the only > > purpose I could find for the redirect). Fortunately it is > > easily fixed just by looking for and noting the address of the > > real _dl_sysinfo_int80, which is easily done whilst reading > > debug info, since m_redir inspects all incoming symbols. > > Sounds good to me. I think we always suppress the sysinfo page > on x86 now so we will always go though _dl_sysinfo_int80() to do > a system call. Committed; thanks for the background info. J |
|
From: <js...@ac...> - 2006-05-01 14:35:15
|
Nightly build on minnie ( SuSE 10.0, ppc32 ) started at 2006-05-01 02:00:01 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 204 tests, 12 stderr failures, 6 stdout failures, 0 posttest failures == memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/leakotron (stdout) memcheck/tests/mempool (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/sigaltstack (stderr) memcheck/tests/stack_changes (stdout) memcheck/tests/stack_changes (stderr) memcheck/tests/xml1 (stderr) none/tests/faultstatus (stderr) none/tests/mremap (stderr) none/tests/ppc32/jm-fp (stdout) none/tests/ppc32/jm-fp (stderr) none/tests/ppc32/round (stdout) none/tests/ppc32/round (stderr) none/tests/ppc32/test_fx (stdout) none/tests/ppc32/test_fx (stderr) none/tests/ppc32/test_gx (stdout) |
|
From: <sv...@va...> - 2006-05-01 09:28:47
|
Author: tom
Date: 2006-05-01 10:28:39 +0100 (Mon, 01 May 2006)
New Revision: 5873
Log:
Add .type and .size directives for VG_(run_innerloop) and
VG_(run_a_noredir_translation) on all platforms where they are
missing.
Modified:
trunk/coregrind/m_dispatch/dispatch-amd64-linux.S
trunk/coregrind/m_dispatch/dispatch-ppc32-linux.S
trunk/coregrind/m_dispatch/dispatch-ppc64-linux.S
trunk/coregrind/m_dispatch/dispatch-x86-linux.S
Modified: trunk/coregrind/m_dispatch/dispatch-amd64-linux.S
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_dispatch/dispatch-amd64-linux.S 2006-05-01 02:12:58=
UTC (rev 5872)
+++ trunk/coregrind/m_dispatch/dispatch-amd64-linux.S 2006-05-01 09:28:39=
UTC (rev 5873)
@@ -52,6 +52,7 @@
=20
.text
.globl VG_(run_innerloop)
+.type VG_(run_innerloop), @function
VG_(run_innerloop):
/* %rdi holds guest_state */
/* %rsi holds do_profiling */
@@ -273,6 +274,7 @@
popq %rcx
popq %rbx
ret=09
+.size VG_(run_innerloop), .-VG_(run_innerloop)
=20
=09
/*------------------------------------------------------------*/
@@ -295,6 +297,7 @@
*/
.align 16
.global VG_(run_a_noredir_translation)
+.type VG_(run_a_noredir_translation), @function
VG_(run_a_noredir_translation):
/* Save callee-saves regs */
pushq %rbx
@@ -324,6 +327,7 @@
popq %rbp
popq %rbx
ret
+.size VG_(run_a_noredir_translation), .-VG_(run_a_noredir_translation)
=20
/* Let the linker know we don't need an executable stack */
.section .note.GNU-stack,"",@progbits
Modified: trunk/coregrind/m_dispatch/dispatch-ppc32-linux.S
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_dispatch/dispatch-ppc32-linux.S 2006-05-01 02:12:58=
UTC (rev 5872)
+++ trunk/coregrind/m_dispatch/dispatch-ppc32-linux.S 2006-05-01 09:28:39=
UTC (rev 5873)
@@ -50,6 +50,7 @@
*/
.text
.globl VG_(run_innerloop)
+.type VG_(run_innerloop), @function
VG_(run_innerloop):
/* r3 holds guest_state */
/* r4 holds do_profiling */
@@ -538,6 +539,7 @@
mtlr 0
addi 1,1,496 /* stack_size */
blr
+.size VG_(run_innerloop), .-VG_(run_innerloop)
=20
=20
/*------------------------------------------------------------*/
@@ -559,6 +561,7 @@
3: output: guest state pointer afterwards (=3D=3D thread return co=
de)
*/
.global VG_(run_a_noredir_translation)
+.type VG_(run_a_noredir_translation), @function
VG_(run_a_noredir_translation):
/* save callee-save int regs, & lr */
stwu 1,-256(1)
@@ -615,6 +618,7 @@
lwz 31,196(1)
addi 1,1,256
blr
+.size VG_(run_a_noredir_translation), .-VG_(run_a_noredir_translation)
=20
=20
/* Let the linker know we don't need an executable stack */
Modified: trunk/coregrind/m_dispatch/dispatch-ppc64-linux.S
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_dispatch/dispatch-ppc64-linux.S 2006-05-01 02:12:58=
UTC (rev 5872)
+++ trunk/coregrind/m_dispatch/dispatch-ppc64-linux.S 2006-05-01 09:28:39=
UTC (rev 5873)
@@ -312,6 +312,7 @@
/* start over */
b .VG_(run_innerloop__dispatch_unprofiled)
/*NOTREACHED*/
+ .size VG_(run_innerloop), .-VG_(run_innerloop)
=20
=20
/*----------------------------------------------------*/
@@ -389,6 +390,7 @@
/* start over */
b .VG_(run_innerloop__dispatch_profiled)
/*NOTREACHED*/
+ .size VG_(run_a_noredir_translation), .-VG_(run_a_noredir_transl=
ation)
=20
=20
/*----------------------------------------------------*/
Modified: trunk/coregrind/m_dispatch/dispatch-x86-linux.S
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_dispatch/dispatch-x86-linux.S 2006-05-01 02:12:58 U=
TC (rev 5872)
+++ trunk/coregrind/m_dispatch/dispatch-x86-linux.S 2006-05-01 09:28:39 U=
TC (rev 5873)
@@ -275,6 +275,7 @@
*/
.align 16
.global VG_(run_a_noredir_translation)
+.type VG_(run_a_noredir_translation), @function
VG_(run_a_noredir_translation):
/* Save callee-saves regs */
pushl %esi
@@ -300,6 +301,7 @@
popl %edi
popl %esi
ret
+.size VG_(run_a_noredir_translation), .-VG_(run_a_noredir_translation)
=20
=09
/* Let the linker know we don't need an executable stack */
|
|
From: <js...@ac...> - 2006-05-01 02:56:30
|
Nightly build on g5 ( YDL 4.0, ppc970 ) started at 2006-05-01 04:40:00 CEST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 210 tests, 6 stderr failures, 3 stdout failures, 0 posttest failures == memcheck/tests/deep_templates (stdout) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/leakotron (stdout) memcheck/tests/pointer-trace (stderr) none/tests/faultstatus (stderr) none/tests/fdleak_fcntl (stderr) none/tests/mremap (stderr) none/tests/ppc32/mftocrf (stdout) |
|
From: Tom H. <to...@co...> - 2006-05-01 02:46:29
|
Nightly build on dunsmere ( athlon, Fedora Core 5 ) started at 2006-05-01 03:30:05 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 236 tests, 7 stderr failures, 1 stdout failure, 0 posttest failures == memcheck/tests/mempool (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/stack_switch (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/sse1_memory (stdout) memcheck/tests/xml1 (stderr) none/tests/x86/faultstatus (stderr) none/tests/x86/int (stderr) |
|
From: Tom H. <th...@cy...> - 2006-05-01 02:33:57
|
Nightly build on alvis ( i686, Red Hat 7.3 ) started at 2006-05-01 03:15:01 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 235 tests, 21 stderr failures, 1 stdout failure, 0 posttest failures == memcheck/tests/addressable (stderr) memcheck/tests/badjump (stderr) memcheck/tests/describe-block (stderr) memcheck/tests/erringfds (stderr) memcheck/tests/leak-0 (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-regroot (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/match-overrun (stderr) memcheck/tests/mempool (stderr) memcheck/tests/partial_load_dflt (stderr) memcheck/tests/partial_load_ok (stderr) memcheck/tests/partiallydefinedeq (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/sigkill (stderr) memcheck/tests/stack_changes (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) memcheck/tests/x86/sse1_memory (stdout) memcheck/tests/xml1 (stderr) none/tests/x86/faultstatus (stderr) none/tests/x86/int (stderr) |
|
From: Tom H. <th...@cy...> - 2006-05-01 02:27:34
|
Nightly build on dellow ( x86_64, Fedora Core 5 ) started at 2006-05-01 03:10:12 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 258 tests, 5 stderr failures, 1 stdout failure, 0 posttest failures == memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/sse1_memory (stdout) memcheck/tests/xml1 (stderr) none/tests/amd64/faultstatus (stderr) none/tests/x86/faultstatus (stderr) none/tests/x86/int (stderr) |
|
From: Tom H. <th...@cy...> - 2006-05-01 02:23:41
|
Nightly build on aston ( x86_64, Fedora Core 3 ) started at 2006-05-01 03:05:11 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 258 tests, 7 stderr failures, 1 stdout failure, 0 posttest failures == memcheck/tests/stack_switch (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) memcheck/tests/x86/sse1_memory (stdout) memcheck/tests/xml1 (stderr) none/tests/amd64/faultstatus (stderr) none/tests/x86/faultstatus (stderr) none/tests/x86/int (stderr) |
|
From: Julian S. <js...@ac...> - 2006-05-01 02:20:58
|
> >> +.size VG_(run_innerloop), .-VG_(run_innerloop) > > > > Sounds good. Please commit it. > > Is the same thing required for the dispatchers of the other platforms? Probably, if anyone can be bothered to do so. Fixing at least amd64-linux would be good. J |
|
From: Nicholas N. <nj...@cs...> - 2006-05-01 02:18:20
|
On Mon, 1 May 2006, Julian Seward wrote: >> --- m_dispatch/dispatch-x86-linux.S (Revision 5868) >> +++ m_dispatch/dispatch-x86-linux.S (Arbeitskopie) >> @@ -51,6 +51,7 @@ >> */ >> .text >> .globl VG_(run_innerloop) >> +.type VG_(run_innerloop), @function >> VG_(run_innerloop): >> /* 4(%esp) holds guest_state */ >> /* 8(%esp) holds do_profiling */ >> @@ -251,8 +252,8 @@ >> popl %ecx >> popl %ebx >> ret >> +.size VG_(run_innerloop), .-VG_(run_innerloop) > > Sounds good. Please commit it. Is the same thing required for the dispatchers of the other platforms? Nick |
|
From: <sv...@va...> - 2006-05-01 02:14:38
|
Author: sewardj
Date: 2006-05-01 03:14:17 +0100 (Mon, 01 May 2006)
New Revision: 1606
Log:
Counterpart to r1605: in the ppc insn selector, don't use the bits
VexArchInfo.hwcaps to distinguish ppc32 and ppc64. Instead pass
the host arch around. And associated plumbing.
Modified:
trunk/priv/host-amd64/hdefs.h
trunk/priv/host-amd64/isel.c
trunk/priv/host-ppc/hdefs.h
trunk/priv/host-ppc/isel.c
trunk/priv/host-x86/hdefs.h
trunk/priv/host-x86/isel.c
trunk/priv/main/vex_main.c
Modified: trunk/priv/host-amd64/hdefs.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/priv/host-amd64/hdefs.h 2006-04-30 23:37:32 UTC (rev 1605)
+++ trunk/priv/host-amd64/hdefs.h 2006-05-01 02:14:17 UTC (rev 1606)
@@ -718,7 +718,7 @@
extern AMD64Instr* genSpill_AMD64 ( HReg rreg, Int offset, Bool=
);
extern AMD64Instr* genReload_AMD64 ( HReg rreg, Int offset, Bool=
);
extern void getAllocableRegs_AMD64 ( Int*, HReg** );
-extern HInstrArray* iselBB_AMD64 ( IRBB*, VexArchInfo* );
+extern HInstrArray* iselBB_AMD64 ( IRBB*, VexArch, VexArchInfo=
* );
=20
#endif /* ndef __LIBVEX_HOST_AMD64_HDEFS_H */
=20
Modified: trunk/priv/host-amd64/isel.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/priv/host-amd64/isel.c 2006-04-30 23:37:32 UTC (rev 1605)
+++ trunk/priv/host-amd64/isel.c 2006-05-01 02:14:17 UTC (rev 1606)
@@ -3760,7 +3760,8 @@
=20
/* Translate an entire BB to amd64 code. */
=20
-HInstrArray* iselBB_AMD64 ( IRBB* bb, VexArchInfo* archinfo_host )
+HInstrArray* iselBB_AMD64 ( IRBB* bb, VexArch arch_host,
+ VexArchInfo* archinfo_host )
{
Int i, j;
HReg hreg, hregHI;
@@ -3768,6 +3769,7 @@
UInt hwcaps_host =3D archinfo_host->hwcaps;
=20
/* sanity ... */
+ vassert(arch_host =3D=3D VexArchAMD64);
vassert(0 =3D=3D (hwcaps_host & ~(VEX_HWCAPS_AMD64_SSE3)));
=20
/* Make up an initial environment to use. */
Modified: trunk/priv/host-ppc/hdefs.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/priv/host-ppc/hdefs.h 2006-04-30 23:37:32 UTC (rev 1605)
+++ trunk/priv/host-ppc/hdefs.h 2006-05-01 02:14:17 UTC (rev 1606)
@@ -838,7 +838,7 @@
extern PPCInstr* genSpill_PPC ( HReg rreg, UShort offsetB, Bo=
ol mode64 );
extern PPCInstr* genReload_PPC ( HReg rreg, UShort offsetB, Bo=
ol mode64 );
extern void getAllocableRegs_PPC ( Int*, HReg**, Bool mode64 );
-extern HInstrArray* iselBB_PPC ( IRBB*, VexArchInfo* );
+extern HInstrArray* iselBB_PPC ( IRBB*, VexArch, VexArchInfo* =
);
=20
#endif /* ndef __LIBVEX_HOST_PPC_HDEFS_H */
=20
Modified: trunk/priv/host-ppc/isel.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/priv/host-ppc/isel.c 2006-04-30 23:37:32 UTC (rev 1605)
+++ trunk/priv/host-ppc/isel.c 2006-05-01 02:14:17 UTC (rev 1606)
@@ -3839,34 +3839,32 @@
=20
/* Translate an entire BB to ppc code. */
=20
-HInstrArray* iselBB_PPC ( IRBB* bb, VexArchInfo* archinfo_host )
+HInstrArray* iselBB_PPC ( IRBB* bb, VexArch arch_host,
+ VexArchInfo* archinfo_host )
{
Int i, j;
HReg hreg, hregHI;
ISelEnv* env;
UInt hwcaps_host =3D archinfo_host->hwcaps;
Bool mode64 =3D False;
- Bool is32, is64;
UInt mask32, mask64;
=20
- /* Figure out whether we're being ppc32 or ppc64 today. */
+ vassert(arch_host =3D=3D VexArchPPC32 || arch_host =3D=3D VexArchPPC6=
4);
+ mode64 =3D arch_host =3D=3D VexArchPPC64;
+
+ /* do some sanity checks */
mask32 =3D VEX_HWCAPS_PPC32_F | VEX_HWCAPS_PPC32_V
| VEX_HWCAPS_PPC32_FX | VEX_HWCAPS_PPC32_GX;
=20
- is32 =3D (hwcaps_host & mask32) > 0;
-
mask64 =3D VEX_HWCAPS_PPC64_V
| VEX_HWCAPS_PPC64_FX | VEX_HWCAPS_PPC64_GX;
=20
- is64 =3D (hwcaps_host & mask64) > 0;
+ if (mode64) {
+ vassert((hwcaps_host & mask32) =3D=3D 0);
+ } else {
+ vassert((hwcaps_host & mask64) =3D=3D 0);
+ }
=20
- if (is32 && !is64)
- mode64 =3D False;
- else if (is64 && !is32)
- mode64 =3D True;
- else
- vpanic("iselBB_PPC: illegal subarch");
-
/* Make up an initial environment to use. */
env =3D LibVEX_Alloc(sizeof(ISelEnv));
env->vreg_ctr =3D 0;
Modified: trunk/priv/host-x86/hdefs.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/priv/host-x86/hdefs.h 2006-04-30 23:37:32 UTC (rev 1605)
+++ trunk/priv/host-x86/hdefs.h 2006-05-01 02:14:17 UTC (rev 1606)
@@ -665,7 +665,7 @@
extern X86Instr* genSpill_X86 ( HReg rreg, Int offset, Bool )=
;
extern X86Instr* genReload_X86 ( HReg rreg, Int offset, Bool )=
;
extern void getAllocableRegs_X86 ( Int*, HReg** );
-extern HInstrArray* iselBB_X86 ( IRBB*, VexArchInfo* );
+extern HInstrArray* iselBB_X86 ( IRBB*, VexArch, VexArchInfo* =
);
=20
#endif /* ndef __LIBVEX_HOST_X86_HDEFS_H */
=20
Modified: trunk/priv/host-x86/isel.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/priv/host-x86/isel.c 2006-04-30 23:37:32 UTC (rev 1605)
+++ trunk/priv/host-x86/isel.c 2006-05-01 02:14:17 UTC (rev 1606)
@@ -3604,7 +3604,8 @@
=20
/* Translate an entire BB to x86 code. */
=20
-HInstrArray* iselBB_X86 ( IRBB* bb, VexArchInfo* archinfo_host )
+HInstrArray* iselBB_X86 ( IRBB* bb, VexArch arch_host,
+ VexArchInfo* archinfo_host )
{
Int i, j;
HReg hreg, hregHI;
@@ -3612,6 +3613,7 @@
UInt hwcaps_host =3D archinfo_host->hwcaps;
=20
/* sanity ... */
+ vassert(arch_host =3D=3D VexArchX86);
vassert(0 =3D=3D (hwcaps_host & ~(VEX_HWCAPS_X86_SSE1
|VEX_HWCAPS_X86_SSE2
|VEX_HWCAPS_X86_SSE3)));
Modified: trunk/priv/main/vex_main.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/priv/main/vex_main.c 2006-04-30 23:37:32 UTC (rev 1605)
+++ trunk/priv/main/vex_main.c 2006-05-01 02:14:17 UTC (rev 1606)
@@ -193,7 +193,7 @@
HInstr* (*genReload) ( HReg, Int, Bool );
void (*ppInstr) ( HInstr*, Bool );
void (*ppReg) ( HReg );
- HInstrArray* (*iselBB) ( IRBB*, VexArchInfo* );
+ HInstrArray* (*iselBB) ( IRBB*, VexArch, VexArchInfo* );
Int (*emit) ( UChar*, Int, HInstr*, Bool, void* );
IRExpr* (*specHelper) ( HChar*, IRExpr** );
Bool (*preciseMemExnsFn) ( Int, Int );
@@ -558,7 +558,7 @@
" Instruction selection "
"------------------------\n");
=20
- vcode =3D iselBB ( irbb, &vta->archinfo_host );
+ vcode =3D iselBB ( irbb, vta->arch_host, &vta->archinfo_host );
=20
vexAllocSanityCheck();
=20
|
|
From: Tom H. <th...@cy...> - 2006-05-01 02:14:29
|
Nightly build on gill ( x86_64, Fedora Core 2 ) started at 2006-05-01 03:00:02 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 258 tests, 7 stderr failures, 1 stdout failure, 0 posttest failures == memcheck/tests/stack_switch (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) memcheck/tests/x86/sse1_memory (stdout) none/tests/amd64/faultstatus (stderr) none/tests/fdleak_fcntl (stderr) none/tests/x86/faultstatus (stderr) none/tests/x86/int (stderr) |
|
From: <sv...@va...> - 2006-05-01 02:13:36
|
Author: weidendo Date: 2006-05-01 03:12:58 +0100 (Mon, 01 May 2006) New Revision: 5872 Log: Make VG_(run_innerloop) visible for outer Valgrinds with self hosting. Without this, the symbol has size 0 and type NOT, and is ignored by the symbol loader. Modified: trunk/coregrind/m_dispatch/dispatch-x86-linux.S Modified: trunk/coregrind/m_dispatch/dispatch-x86-linux.S =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/coregrind/m_dispatch/dispatch-x86-linux.S 2006-05-01 01:49:28 U= TC (rev 5871) +++ trunk/coregrind/m_dispatch/dispatch-x86-linux.S 2006-05-01 02:12:58 U= TC (rev 5872) @@ -51,6 +51,7 @@ */ .text .globl VG_(run_innerloop) +.type VG_(run_innerloop), @function VG_(run_innerloop): /* 4(%esp) holds guest_state */ /* 8(%esp) holds do_profiling */ @@ -251,6 +252,7 @@ popl %ecx popl %ebx ret=09 +.size VG_(run_innerloop), .-VG_(run_innerloop) =20 =20 /*------------------------------------------------------------*/ |
|
From: Josef W. <Jos...@gm...> - 2006-05-01 02:01:12
|
On Monday 01 May 2006 03:42, Julian Seward wrote: > > I will not document it otherwise, because it makes callgrind quite > > unstable (something to investigate). > > Ok. If --pop-on-jump is not used, then callgrind's stability is > unchanged, right? Yes. Nothing is changed when the option is not used. When using it, it probably leads to some underruns of the shadow call stack. This should be handled quite fine, but obviously can have problems. "callgrind --pop-on-jump /bin/true" runs fine, but: ================================================ weidendo@linux:~/tmp/vgself/run4> callgrind --pop-on-jump ls ==23939== Callgrind, a call-graph generating cache profiler. ==23939== Copyright (C) 2002-2006, and GNU GPL'd, by Josef Weidendorfer et al. ==23939== Using LibVEX rev 1604, a library for dynamic binary translation. ==23939== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP. ==23939== Using valgrind-3.2.0.SVN, a dynamic binary instrumentation framework. ==23939== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==23939== For more details, rerun with: -v ==23939== ==23939== For interactive control, run 'callgrind_control -h'. ==23939== ==23939== Process terminating with default action of signal 11 (SIGSEGV) ==23939== Access not within mapped region at address 0xF1CCDC58 ==23939== at 0x4179E065: _IO_file_read (in /lib/tls/libc-2.3.5.so) ==23939== by 0x4179CDFD: _IO_file_underflow@@GLIBC_2.1 (in /lib/tls/libc-2.3.5.so) ==23939== by 0x4179F2EA: _IO_default_uflow (in /lib/tls/libc-2.3.5.so) ==23939== by 0x4179F0CB: __uflow (in /lib/tls/libc-2.3.5.so) ==23939== by 0x41794227: _IO_getline_info (in /lib/tls/libc-2.3.5.so) ==23939== by 0x4179414E: _IO_getline (in /lib/tls/libc-2.3.5.so) ==23939== by 0x4179C119: fgets_unlocked (in /lib/tls/libc-2.3.5.so) ==23939== by 0x404146A: (within /lib/libselinux.so.1) ==23939== by 0x4044365: (within /lib/libselinux.so.1) ==23939== by 0x403A0B4: (within /lib/libselinux.so.1) ==23939== by 0x4100B9A3: call_init (in /lib/ld-2.3.5.so) ==23939== by 0x4100BAE0: _dl_init (in /lib/ld-2.3.5.so) ==23939== --23939-- VALGRIND INTERNAL ERROR: Valgrind received a signal 11 (SIGSEGV) - exiting --23939-- si_code=1; Faulting address: 0x10; sp: 0x626D27A8 valgrind: m_signals.c:1772 (sync_signalhandler): Assertion 'tid != 0' failed. ==23939== at 0xB00170B6: report_and_quit (m_libcassert.c:136) =========================================== As this is reproducable, it should be fixable... > > --- m_dispatch/dispatch-x86-linux.S (Revision 5868) > > +++ m_dispatch/dispatch-x86-linux.S (Arbeitskopie) > > @@ -51,6 +51,7 @@ > > */ > > .text > > .globl VG_(run_innerloop) > > +.type VG_(run_innerloop), @function > > VG_(run_innerloop): > > /* 4(%esp) holds guest_state */ > > /* 8(%esp) holds do_profiling */ > > @@ -251,8 +252,8 @@ > > popl %ecx > > popl %ebx > > ret > > +.size VG_(run_innerloop), .-VG_(run_innerloop) > > Sounds good. Please commit it. Will do. Josef |
|
From: <sv...@va...> - 2006-05-01 01:49:30
|
Author: weidendo Date: 2006-05-01 02:49:28 +0100 (Mon, 01 May 2006) New Revision: 5871 Log: Hint to better run with option "--pop-on-jump" when doing self-hosting runs with outer callgrind. Modified: trunk/README_DEVELOPERS Modified: trunk/README_DEVELOPERS =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/README_DEVELOPERS 2006-05-01 01:38:32 UTC (rev 5870) +++ trunk/README_DEVELOPERS 2006-05-01 01:49:28 UTC (rev 5871) @@ -96,7 +96,10 @@ so Memcheck is not as useful as it could be. It also has not been teste= d much, so don't be surprised if you hit problems. =20 +When using self-hosting with an outer callgrind tool, use '--pop-on-jump= ' +(on the outer). Otherwise, callgrind has much higher memory requirements= .=20 =20 + Printing out problematic blocks ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ If you want to print out a disassembly of a particular block that |