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
(19) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
1
(18) |
2
(1) |
3
(17) |
4
(10) |
5
(18) |
6
(17) |
|
7
(21) |
8
(25) |
9
(16) |
10
(1) |
11
(4) |
12
(27) |
13
(13) |
|
14
(11) |
15
(19) |
16
(18) |
17
(14) |
18
(25) |
19
(23) |
20
(22) |
|
21
(29) |
22
(16) |
23
(17) |
24
(16) |
25
|
26
(4) |
27
(21) |
|
28
(15) |
29
(19) |
30
(15) |
31
(6) |
|
|
|
|
From: <sv...@va...> - 2012-10-27 23:07:52
|
florian 2012-10-28 00:07:42 +0100 (Sun, 28 Oct 2012)
New Revision: 13089
Log:
Char/HChar and constness fixes. Mostly cost center
on allocators which is always a const HChar *
Modified files:
trunk/coregrind/m_debuginfo/debuginfo.c
trunk/coregrind/m_debuginfo/misc.c
trunk/coregrind/m_debuginfo/priv_misc.h
trunk/coregrind/m_errormgr.c
trunk/coregrind/m_gdbserver/m_gdbserver.c
trunk/coregrind/m_mallocfree.c
trunk/coregrind/m_oset.c
trunk/coregrind/m_poolalloc.c
trunk/coregrind/m_redir.c
trunk/coregrind/m_sparsewa.c
trunk/coregrind/m_transtab.c
trunk/coregrind/m_wordfm.c
trunk/coregrind/m_xarray.c
trunk/coregrind/pub_core_mallocfree.h
trunk/drd/tests/unit_bitmap.c
trunk/drd/tests/unit_vc.c
trunk/exp-sgcheck/sg_main.c
trunk/helgrind/hg_basics.c
trunk/helgrind/hg_basics.h
trunk/helgrind/hg_wordset.c
trunk/helgrind/hg_wordset.h
trunk/include/pub_tool_mallocfree.h
trunk/include/pub_tool_oset.h
trunk/include/pub_tool_poolalloc.h
trunk/include/pub_tool_sparsewa.h
trunk/include/pub_tool_wordfm.h
trunk/include/pub_tool_xarray.h
trunk/memcheck/mc_leakcheck.c
trunk/memcheck/mc_main.c
trunk/memcheck/tests/unit_oset.c
Modified: trunk/memcheck/mc_main.c (+1 -1)
===================================================================
--- trunk/memcheck/mc_main.c 2012-10-27 19:39:11 +01:00 (rev 13088)
+++ trunk/memcheck/mc_main.c 2012-10-28 00:07:42 -23:00 (rev 13089)
@@ -2190,7 +2190,7 @@
static OSet* ocacheL2 = NULL;
-static void* ocacheL2_malloc ( HChar* cc, SizeT szB ) {
+static void* ocacheL2_malloc ( const HChar* cc, SizeT szB ) {
return VG_(malloc)(cc, szB);
}
static void ocacheL2_free ( void* v ) {
Modified: trunk/include/pub_tool_wordfm.h (+4 -4)
===================================================================
--- trunk/include/pub_tool_wordfm.h 2012-10-27 19:39:11 +01:00 (rev 13088)
+++ trunk/include/pub_tool_wordfm.h 2012-10-28 00:07:42 -23:00 (rev 13089)
@@ -76,8 +76,8 @@
sections of the map, or the whole thing. If kCmp is NULL then the
ordering used is unsigned word ordering (UWord) on the key
values. */
-WordFM* VG_(newFM) ( void* (*alloc_nofail)( HChar* cc, SizeT ),
- HChar* cc,
+WordFM* VG_(newFM) ( void* (*alloc_nofail)( const HChar* cc, SizeT ),
+ const HChar* cc,
void (*dealloc)(void*),
Word (*kCmp)(UWord,UWord) );
@@ -174,8 +174,8 @@
typedef struct _WordBag WordBag; /* opaque */
/* Allocate and initialise a WordBag */
-WordBag* VG_(newBag) ( void* (*alloc_nofail)( HChar* cc, SizeT ),
- HChar* cc,
+WordBag* VG_(newBag) ( void* (*alloc_nofail)( const HChar* cc, SizeT ),
+ const HChar* cc,
void (*dealloc)(void*) );
/* Free up the Bag. */
Modified: trunk/coregrind/m_wordfm.c (+10 -10)
===================================================================
--- trunk/coregrind/m_wordfm.c 2012-10-27 19:39:11 +01:00 (rev 13088)
+++ trunk/coregrind/m_wordfm.c 2012-10-28 00:07:42 -23:00 (rev 13089)
@@ -81,8 +81,8 @@
struct _WordFM {
AvlNode* root;
- void* (*alloc_nofail)( HChar*, SizeT );
- HChar* cc;
+ void* (*alloc_nofail)( const HChar*, SizeT );
+ const HChar* cc;
void (*dealloc)(void*);
Word (*kCmp)(UWord,UWord);
AvlNode* nodeStack[WFM_STKMAX]; // Iterator node stack
@@ -502,8 +502,8 @@
AvlNode* avl_dopy ( AvlNode* nd,
UWord(*dopyK)(UWord),
UWord(*dopyV)(UWord),
- void*(alloc_nofail)(HChar*,SizeT),
- HChar* cc )
+ void*(alloc_nofail)(const HChar*,SizeT),
+ const HChar* cc )
{
AvlNode* nyu;
if (! nd)
@@ -554,8 +554,8 @@
/* Initialise a WordFM. */
static void initFM ( WordFM* fm,
- void* (*alloc_nofail)( HChar*, SizeT ),
- HChar* cc,
+ void* (*alloc_nofail)( const HChar*, SizeT ),
+ const HChar* cc,
void (*dealloc)(void*),
Word (*kCmp)(UWord,UWord) )
{
@@ -576,8 +576,8 @@
sections of the map, or the whole thing. If kCmp is NULL then the
ordering used is unsigned word ordering (UWord) on the key
values. */
-WordFM* VG_(newFM) ( void* (*alloc_nofail)( HChar*, SizeT ),
- HChar* cc,
+WordFM* VG_(newFM) ( void* (*alloc_nofail)( const HChar*, SizeT ),
+ const HChar* cc,
void (*dealloc)(void*),
Word (*kCmp)(UWord,UWord) )
{
@@ -849,8 +849,8 @@
WordFM* fm;
};
-WordBag* VG_(newBag) ( void* (*alloc_nofail)( HChar*, SizeT ),
- HChar* cc,
+WordBag* VG_(newBag) ( void* (*alloc_nofail)( const HChar*, SizeT ),
+ const HChar* cc,
void (*dealloc)(void*) )
{
WordBag* bag = alloc_nofail(cc, sizeof(WordBag));
Modified: trunk/drd/tests/unit_bitmap.c (+1 -1)
===================================================================
--- trunk/drd/tests/unit_bitmap.c 2012-10-27 19:39:11 +01:00 (rev 13088)
+++ trunk/drd/tests/unit_bitmap.c 2012-10-28 00:07:42 -23:00 (rev 13089)
@@ -24,7 +24,7 @@
/* Replacements for Valgrind core functionality. */
-void* VG_(malloc)(HChar* cc, SizeT nbytes)
+void* VG_(malloc)(const HChar* cc, SizeT nbytes)
{ return malloc(nbytes); }
void VG_(free)(void* p)
{ return free(p); }
Modified: trunk/coregrind/m_debuginfo/debuginfo.c (+1 -1)
===================================================================
--- trunk/coregrind/m_debuginfo/debuginfo.c 2012-10-27 19:39:11 +01:00 (rev 13088)
+++ trunk/coregrind/m_debuginfo/debuginfo.c 2012-10-28 00:07:42 -23:00 (rev 13089)
@@ -1044,7 +1044,7 @@
{
Int i, r, sz_exename;
ULong obj_mtime, pdb_mtime;
- Char exename[VKI_PATH_MAX];
+ HChar exename[VKI_PATH_MAX];
Char* pdbname = NULL;
Char* dot;
SysRes sres;
Modified: trunk/memcheck/tests/unit_oset.c (+16 -16)
===================================================================
--- trunk/memcheck/tests/unit_oset.c 2012-10-27 19:39:11 +01:00 (rev 13088)
+++ trunk/memcheck/tests/unit_oset.c 2012-10-28 00:07:42 -23:00 (rev 13089)
@@ -54,7 +54,7 @@
return seed;
}
-static void* allocate_node(HChar* cc, SizeT szB)
+static void* allocate_node(const HChar* cc, SizeT szB)
{ return malloc(szB); }
static void free_node(void* p)
@@ -62,7 +62,7 @@
//---------------------------------------------------------------------------
-// Word example
+// UWord example
//---------------------------------------------------------------------------
// This example shows that an element can be a single value (in this
@@ -85,9 +85,9 @@
void example1singleset(OSet* oset, char *descr)
{
Int i, n;
- Word v, prev;
- Word* vs[NN];
- Word *pv;
+ UWord v, prev;
+ UWord* vs[NN];
+ UWord *pv;
// Try some operations on an empty OSet to ensure they don't screw up.
vg_assert( ! VG_(OSetGen_Contains)(oset, &v) );
@@ -104,9 +104,9 @@
}
seed = 0;
for (i = 0; i < NN; i++) {
- Word r1 = myrandom() % NN;
- Word r2 = myrandom() % NN;
- Word* tmp= vs[r1];
+ UWord r1 = myrandom() % NN;
+ UWord r2 = myrandom() % NN;
+ UWord* tmp= vs[r1];
vs[r1] = vs[r2];
vs[r2] = tmp;
}
@@ -229,7 +229,7 @@
NULL,
allocate_node, "oset_test.1",
free_node,
- 101, sizeof(Word));
+ 101, sizeof(UWord));
example1singleset(oset, "single oset, pool allocator");
// Destroy the OSet
@@ -241,7 +241,7 @@
(0,
NULL,
allocate_node, "oset_test.1", free_node,
- 101, sizeof(Word));
+ 101, sizeof(UWord));
oset_empty_clone = VG_(OSetGen_EmptyClone) (oset);
example1singleset(oset, "oset, shared pool");
example1singleset(oset_empty_clone, "cloned oset, shared pool");
@@ -255,8 +255,8 @@
void example1b(void)
{
Int i, n;
- Word v = 0, prev;
- Word vs[NN];
+ UWord v = 0, prev;
+ UWord vs[NN];
// Create a static OSet of Ints. This one uses fast (built-in)
// comparisons.
@@ -275,9 +275,9 @@
}
seed = 0;
for (i = 0; i < NN; i++) {
- Word r1 = myrandom() % NN;
- Word r2 = myrandom() % NN;
- Word tmp = vs[r1];
+ UWord r1 = myrandom() % NN;
+ UWord r2 = myrandom() % NN;
+ UWord tmp = vs[r1];
vs[r1] = vs[r2];
vs[r2] = tmp;
}
@@ -317,7 +317,7 @@
prev = -1;
VG_(OSetWord_ResetIter)(oset);
while ( VG_(OSetWord_Next)(oset, &v) ) {
- Word curr = v;
+ UWord curr = v;
assert(prev < curr);
prev = curr;
n++;
Modified: trunk/exp-sgcheck/sg_main.c (+4 -4)
===================================================================
--- trunk/exp-sgcheck/sg_main.c 2012-10-27 19:39:11 +01:00 (rev 13088)
+++ trunk/exp-sgcheck/sg_main.c 2012-10-28 00:07:42 -23:00 (rev 13089)
@@ -69,7 +69,7 @@
&& tid != VG_INVALID_THREADID;
}
-static void* sg_malloc ( HChar* cc, SizeT n ) {
+static void* sg_malloc ( const HChar* cc, SizeT n ) {
void* p;
tl_assert(n > 0);
p = VG_(malloc)( cc, n );
@@ -477,7 +477,7 @@
}
StackTreeNode;
-static void pp_StackTree ( WordFM* sitree, HChar* who )
+static void pp_StackTree ( WordFM* sitree, const HChar* who )
{
UWord keyW, valW;
VG_(printf)("<<< BEGIN pp_StackTree %s\n", who );
@@ -637,7 +637,7 @@
}
static void GlobalTree__pp ( WordFM* /* of (GlobalTreeNode,void) */ gitree,
- HChar* who )
+ const HChar* who )
{
UWord keyW, valW;
GlobalTreeNode* nd;
@@ -1016,7 +1016,7 @@
qc->nInUse = 0;
}
-static void QCache__pp ( QCache* qc, HChar* who )
+static void QCache__pp ( QCache* qc, const HChar* who )
{
Word i;
VG_(printf)("<<< QCache with %ld elements (%s)\n", qc->nInUse, who);
Modified: trunk/coregrind/m_transtab.c (+1 -1)
===================================================================
--- trunk/coregrind/m_transtab.c 2012-10-27 19:39:11 +01:00 (rev 13088)
+++ trunk/coregrind/m_transtab.c 2012-10-28 00:07:42 -23:00 (rev 13089)
@@ -422,7 +422,7 @@
/*--- Misc ---*/
/*-------------------------------------------------------------*/
-static void* ttaux_malloc ( HChar* tag, SizeT n )
+static void* ttaux_malloc ( const HChar* tag, SizeT n )
{
return VG_(arena_malloc)(VG_AR_TTAUX, tag, n);
}
Modified: trunk/coregrind/m_poolalloc.c (+4 -4)
===================================================================
--- trunk/coregrind/m_poolalloc.c 2012-10-27 19:39:11 +01:00 (rev 13088)
+++ trunk/coregrind/m_poolalloc.c 2012-10-28 00:07:42 -23:00 (rev 13089)
@@ -36,8 +36,8 @@
UWord nrRef; /* nr reference to this pool allocator */
UWord elemSzB; /* element size */
UWord nPerPool; /* # elems per pool */
- void* (*alloc)(HChar*, SizeT); /* pool allocator */
- HChar* cc; /* pool allocator's cc */
+ void* (*alloc)(const HChar*, SizeT); /* pool allocator */
+ const HChar* cc; /* pool allocator's cc */
void (*free)(void*); /* pool allocator's free-er */
/* XArray of void* (pointers to pools). The pools themselves.
Each element is a pointer to a block of size (elemSzB *
@@ -50,8 +50,8 @@
PoolAlloc* VG_(newPA) ( UWord elemSzB,
UWord nPerPool,
- void* (*alloc)(HChar*, SizeT),
- HChar* cc,
+ void* (*alloc)(const HChar*, SizeT),
+ const HChar* cc,
void (*free_fn)(void*) )
{
PoolAlloc* pa;
Modified: trunk/coregrind/m_gdbserver/m_gdbserver.c (+1 -1)
===================================================================
--- trunk/coregrind/m_gdbserver/m_gdbserver.c 2012-10-27 19:39:11 +01:00 (rev 13088)
+++ trunk/coregrind/m_gdbserver/m_gdbserver.c 2012-10-28 00:07:42 -23:00 (rev 13089)
@@ -159,7 +159,7 @@
static int gdbserver_exited = 0;
/* alloc and free functions for xarray and similar. */
-static void* gs_alloc (HChar* cc, SizeT sz)
+static void* gs_alloc (const HChar* cc, SizeT sz)
{
void* res = VG_(arena_malloc)(VG_AR_CORE, cc, sz);
vg_assert (res);
Modified: trunk/memcheck/mc_leakcheck.c (+1 -1)
===================================================================
--- trunk/memcheck/mc_leakcheck.c 2012-10-27 19:39:11 +01:00 (rev 13088)
+++ trunk/memcheck/mc_leakcheck.c 2012-10-28 00:07:42 -23:00 (rev 13089)
@@ -327,7 +327,7 @@
static MC_Chunk**
-find_active_chunks(UInt* pn_chunks)
+find_active_chunks(Int* pn_chunks)
{
// Our goal is to construct a set of chunks that includes every
// mempool chunk, and every malloc region that *doesn't* contain a
Modified: trunk/include/pub_tool_sparsewa.h (+2 -2)
===================================================================
--- trunk/include/pub_tool_sparsewa.h 2012-10-27 19:39:11 +01:00 (rev 13088)
+++ trunk/include/pub_tool_sparsewa.h 2012-10-28 00:07:42 -23:00 (rev 13089)
@@ -49,8 +49,8 @@
typedef struct _SparseWA SparseWA; /* opaque */
// Create a new one, using the specified allocator/deallocator
-SparseWA* VG_(newSWA) ( void*(*alloc_nofail)(HChar* cc, SizeT),
- HChar* cc,
+SparseWA* VG_(newSWA) ( void*(*alloc_nofail)(const HChar* cc, SizeT),
+ const HChar* cc,
void(*dealloc)(void*) );
// Delete one, and free all associated storage
Modified: trunk/coregrind/m_debuginfo/misc.c (+3 -3)
===================================================================
--- trunk/coregrind/m_debuginfo/misc.c 2012-10-27 19:39:11 +01:00 (rev 13088)
+++ trunk/coregrind/m_debuginfo/misc.c 2012-10-28 00:07:42 -23:00 (rev 13089)
@@ -42,7 +42,7 @@
#include "priv_misc.h" /* self */
-void* ML_(dinfo_zalloc) ( HChar* cc, SizeT szB ) {
+void* ML_(dinfo_zalloc) ( const HChar* cc, SizeT szB ) {
void* v;
vg_assert(szB > 0);
v = VG_(arena_malloc)( VG_AR_DINFO, cc, szB );
@@ -55,11 +55,11 @@
VG_(arena_free)( VG_AR_DINFO, v );
}
-UChar* ML_(dinfo_strdup) ( HChar* cc, const UChar* str ) {
+UChar* ML_(dinfo_strdup) ( const HChar* cc, const UChar* str ) {
return VG_(arena_strdup)( VG_AR_DINFO, cc, str );
}
-UChar* ML_(dinfo_memdup) ( HChar* cc, UChar* str, SizeT nStr ) {
+UChar* ML_(dinfo_memdup) ( const HChar* cc, UChar* str, SizeT nStr ) {
UChar* dst = VG_(arena_malloc)( VG_AR_DINFO, cc, nStr );
tl_assert(dst);
VG_(memcpy)(dst, str, nStr);
Modified: trunk/coregrind/pub_core_mallocfree.h (+5 -5)
===================================================================
--- trunk/coregrind/pub_core_mallocfree.h 2012-10-27 19:39:11 +01:00 (rev 13088)
+++ trunk/coregrind/pub_core_mallocfree.h 2012-10-28 00:07:42 -23:00 (rev 13089)
@@ -103,15 +103,15 @@
int keepcost; /* top-most, releasable (via malloc_trim) space */
};
-extern void* VG_(arena_malloc) ( ArenaId arena, HChar* cc, SizeT nbytes );
+extern void* VG_(arena_malloc) ( ArenaId arena, const HChar* cc, SizeT nbytes );
extern void VG_(arena_free) ( ArenaId arena, void* ptr );
-extern void* VG_(arena_calloc) ( ArenaId arena, HChar* cc,
+extern void* VG_(arena_calloc) ( ArenaId arena, const HChar* cc,
SizeT nmemb, SizeT bytes_per_memb );
-extern void* VG_(arena_realloc) ( ArenaId arena, HChar* cc,
+extern void* VG_(arena_realloc) ( ArenaId arena, const HChar* cc,
void* ptr, SizeT size );
-extern void* VG_(arena_memalign)( ArenaId aid, HChar* cc,
+extern void* VG_(arena_memalign)( ArenaId aid, const HChar* cc,
SizeT req_alignB, SizeT req_pszB );
-extern Char* VG_(arena_strdup) ( ArenaId aid, HChar* cc,
+extern Char* VG_(arena_strdup) ( ArenaId aid, const HChar* cc,
const Char* s);
extern SizeT VG_(arena_malloc_usable_size) ( ArenaId aid, void* payload );
Modified: trunk/coregrind/m_mallocfree.c (+25 -21)
===================================================================
--- trunk/coregrind/m_mallocfree.c 2012-10-27 19:39:11 +01:00 (rev 13088)
+++ trunk/coregrind/m_mallocfree.c 2012-10-28 00:07:42 -23:00 (rev 13089)
@@ -191,7 +191,7 @@
// elastic, in that it can be bigger than asked-for to ensure alignment.
typedef
struct {
- Char* name;
+ const HChar* name;
Bool clientmem; // Allocates in the client address space?
SizeT rz_szB; // Red zone size in bytes
SizeT min_sblock_szB; // Minimum superblock size in bytes
@@ -424,18 +424,18 @@
// Set and get the cost-center field of a block.
static __inline__
-void set_cc ( Block* b, HChar* cc )
+void set_cc ( Block* b, const HChar* cc )
{
UByte* b2 = (UByte*)b;
vg_assert( VG_(clo_profile_heap) );
- *(HChar**)&b2[0] = cc;
+ *(const HChar**)&b2[0] = cc;
}
static __inline__
-HChar* get_cc ( Block* b )
+const HChar* get_cc ( Block* b )
{
UByte* b2 = (UByte*)b;
vg_assert( VG_(clo_profile_heap) );
- return *(HChar**)&b2[0];
+ return *(const HChar**)&b2[0];
}
//---------------------------------------------------------------------------
@@ -509,7 +509,7 @@
// It might be overriden by VG_(clo_redzone_size) or VG_(clo_core_redzone_size).
// it might be made bigger to ensure that VG_MIN_MALLOC_SZB is observed.
static
-void arena_init ( ArenaId aid, Char* name, SizeT rz_szB,
+void arena_init ( ArenaId aid, const HChar* name, SizeT rz_szB,
SizeT min_sblock_szB, SizeT min_unsplittable_sblock_szB )
{
SizeT i;
@@ -702,7 +702,7 @@
/*------------------------------------------------------------*/
__attribute__((noreturn))
-void VG_(out_of_memory_NORETURN) ( HChar* who, SizeT szB )
+void VG_(out_of_memory_NORETURN) ( const HChar* who, SizeT szB )
{
static Int outputTrial = 0;
// We try once to output the full memory state followed by the below message.
@@ -711,7 +711,7 @@
// And then we abandon.
ULong tot_alloc = VG_(am_get_anonsize_total)();
- Char* s1 =
+ const HChar* s1 =
"\n"
" Valgrind's memory management: out of memory:\n"
" %s's request for %llu bytes failed.\n"
@@ -1272,7 +1272,11 @@
#define N_AN_CCS 1000
-typedef struct { ULong nBytes; ULong nBlocks; HChar* cc; } AnCC;
+typedef struct {
+ ULong nBytes;
+ ULong nBlocks;
+ const HChar* cc;
+} AnCC;
static AnCC anCCs[N_AN_CCS];
@@ -1292,7 +1296,7 @@
Bool thisFree, lastWasFree;
SizeT b_bszB;
- HChar* cc;
+ const HChar* cc;
UInt n_ccs = 0;
//return;
a = arenaId_to_ArenaP(aid);
@@ -1480,7 +1484,7 @@
return ((req_pszB + n) & (~n));
}
-void* VG_(arena_malloc) ( ArenaId aid, HChar* cc, SizeT req_pszB )
+void* VG_(arena_malloc) ( ArenaId aid, const HChar* cc, SizeT req_pszB )
{
SizeT req_bszB, frag_bszB, b_bszB;
UInt lno, i;
@@ -1953,7 +1957,7 @@
. . . . . . .
*/
-void* VG_(arena_memalign) ( ArenaId aid, HChar* cc,
+void* VG_(arena_memalign) ( ArenaId aid, const HChar* cc,
SizeT req_alignB, SizeT req_pszB )
{
SizeT base_pszB_req, base_pszB_act, frag_bszB;
@@ -2148,11 +2152,11 @@
/*--- Services layered on top of malloc/free. ---*/
/*------------------------------------------------------------*/
-void* VG_(arena_calloc) ( ArenaId aid, HChar* cc,
+void* VG_(arena_calloc) ( ArenaId aid, const HChar* cc,
SizeT nmemb, SizeT bytes_per_memb )
{
SizeT size;
- UChar* p;
+ void* p;
size = nmemb * bytes_per_memb;
vg_assert(size >= nmemb && size >= bytes_per_memb);// check against overflow
@@ -2165,12 +2169,12 @@
}
-void* VG_(arena_realloc) ( ArenaId aid, HChar* cc,
+void* VG_(arena_realloc) ( ArenaId aid, const HChar* cc,
void* ptr, SizeT req_pszB )
{
Arena* a;
SizeT old_pszB;
- UChar *p_new;
+ void* p_new;
Block* b;
ensure_mm_init(aid);
@@ -2208,7 +2212,7 @@
/* Inline just for the wrapper VG_(strdup) below */
-__inline__ Char* VG_(arena_strdup) ( ArenaId aid, HChar* cc,
+__inline__ Char* VG_(arena_strdup) ( ArenaId aid, const HChar* cc,
const Char* s )
{
Int i;
@@ -2233,7 +2237,7 @@
// All just wrappers to avoid exposing arenas to tools.
-void* VG_(malloc) ( HChar* cc, SizeT nbytes )
+void* VG_(malloc) ( const HChar* cc, SizeT nbytes )
{
return VG_(arena_malloc) ( VG_AR_TOOL, cc, nbytes );
}
@@ -2243,17 +2247,17 @@
VG_(arena_free) ( VG_AR_TOOL, ptr );
}
-void* VG_(calloc) ( HChar* cc, SizeT nmemb, SizeT bytes_per_memb )
+void* VG_(calloc) ( const HChar* cc, SizeT nmemb, SizeT bytes_per_memb )
{
return VG_(arena_calloc) ( VG_AR_TOOL, cc, nmemb, bytes_per_memb );
}
-void* VG_(realloc) ( HChar* cc, void* ptr, SizeT size )
+void* VG_(realloc) ( const HChar* cc, void* ptr, SizeT size )
{
return VG_(arena_realloc) ( VG_AR_TOOL, cc, ptr, size );
}
-Char* VG_(strdup) ( HChar* cc, const Char* s )
+Char* VG_(strdup) ( const HChar* cc, const Char* s )
{
return VG_(arena_strdup) ( VG_AR_TOOL, cc, s );
}
Modified: trunk/coregrind/m_debuginfo/priv_misc.h (+3 -3)
===================================================================
--- trunk/coregrind/m_debuginfo/priv_misc.h 2012-10-27 19:39:11 +01:00 (rev 13088)
+++ trunk/coregrind/m_debuginfo/priv_misc.h 2012-10-28 00:07:42 -23:00 (rev 13089)
@@ -38,10 +38,10 @@
/* Allocate(zeroed), free, strdup, memdup, all in VG_AR_DINFO. */
-void* ML_(dinfo_zalloc)( HChar* cc, SizeT szB );
+void* ML_(dinfo_zalloc)( const HChar* cc, SizeT szB );
void ML_(dinfo_free)( void* v );
-UChar* ML_(dinfo_strdup)( HChar* cc, const UChar* str );
-UChar* ML_(dinfo_memdup)( HChar* cc, UChar* str, SizeT nStr );
+UChar* ML_(dinfo_strdup)( const HChar* cc, const UChar* str );
+UChar* ML_(dinfo_memdup)( const HChar* cc, UChar* str, SizeT nStr );
/* Extract (possibly unaligned) data of various sizes from a buffer. */
Short ML_(read_Short)( UChar* data );
Modified: trunk/include/pub_tool_poolalloc.h (+2 -2)
===================================================================
--- trunk/include/pub_tool_poolalloc.h 2012-10-27 19:39:11 +01:00 (rev 13088)
+++ trunk/include/pub_tool_poolalloc.h 2012-10-28 00:07:42 -23:00 (rev 13089)
@@ -53,8 +53,8 @@
is, if it returns it must have succeeded.) */
PoolAlloc* VG_(newPA) ( UWord elemSzB,
UWord nPerPool,
- void* (*alloc)(HChar*, SizeT),
- HChar* cc,
+ void* (*alloc)(const HChar*, SizeT),
+ const HChar* cc,
void (*free_fn)(void*) );
Modified: trunk/helgrind/hg_basics.h (+2 -2)
===================================================================
--- trunk/helgrind/hg_basics.h 2012-10-27 19:39:11 +01:00 (rev 13088)
+++ trunk/helgrind/hg_basics.h 2012-10-28 00:07:42 -23:00 (rev 13089)
@@ -39,9 +39,9 @@
#define HG_(str) VGAPPEND(vgHelgrind_,str)
-void* HG_(zalloc) ( HChar* cc, SizeT n );
+void* HG_(zalloc) ( const HChar* cc, SizeT n );
void HG_(free) ( void* p );
-Char* HG_(strdup) ( HChar* cc, const Char* s );
+Char* HG_(strdup) ( const HChar* cc, const Char* s );
static inline Bool HG_(is_sane_ThreadId) ( ThreadId coretid ) {
return coretid >= 0 && coretid < VG_N_THREADS;
Modified: trunk/helgrind/hg_basics.c (+2 -2)
===================================================================
--- trunk/helgrind/hg_basics.c 2012-10-27 19:39:11 +01:00 (rev 13088)
+++ trunk/helgrind/hg_basics.c 2012-10-28 00:07:42 -23:00 (rev 13089)
@@ -42,7 +42,7 @@
/*--- Very basic stuff ---*/
/*----------------------------------------------------------------*/
-void* HG_(zalloc) ( HChar* cc, SizeT n )
+void* HG_(zalloc) ( const HChar* cc, SizeT n )
{
void* p;
tl_assert(n > 0);
@@ -58,7 +58,7 @@
VG_(free)(p);
}
-Char* HG_(strdup) ( HChar* cc, const Char* s )
+Char* HG_(strdup) ( const HChar* cc, const Char* s )
{
return VG_(strdup)( cc, s );
}
Modified: trunk/coregrind/m_xarray.c (+6 -6)
===================================================================
--- trunk/coregrind/m_xarray.c 2012-10-27 19:39:11 +01:00 (rev 13088)
+++ trunk/coregrind/m_xarray.c 2012-10-28 00:07:42 -23:00 (rev 13089)
@@ -38,8 +38,8 @@
/* See pub_tool_xarray.h for details of what this is all about. */
struct _XArray {
- void* (*alloc) ( HChar*, SizeT ); /* alloc fn (nofail) */
- HChar* cc; /* cost centre for alloc */
+ void* (*alloc) ( const HChar*, SizeT ); /* alloc fn (nofail) */
+ const HChar* cc; /* cost centre for alloc */
void (*free) ( void* ); /* free fn */
Int (*cmpFn) ( void*, void* ); /* cmp fn (may be NULL) */
Word elemSzB; /* element size in bytes */
@@ -50,8 +50,8 @@
};
-XArray* VG_(newXA) ( void*(*alloc_fn)(HChar*,SizeT),
- HChar* cc,
+XArray* VG_(newXA) ( void*(*alloc_fn)(const HChar*,SizeT),
+ const HChar* cc,
void(*free_fn)(void*),
Word elemSzB )
{
@@ -79,11 +79,11 @@
return xa;
}
-XArray* VG_(cloneXA)( HChar* cc, XArray* xao )
+XArray* VG_(cloneXA)( const HChar* cc, XArray* xao )
{
struct _XArray* xa = (struct _XArray*)xao;
struct _XArray* nyu;
- HChar* nyu_cc;
+ const HChar* nyu_cc;
vg_assert(xa);
vg_assert(xa->alloc);
vg_assert(xa->free);
Modified: trunk/coregrind/m_sparsewa.c (+4 -4)
===================================================================
--- trunk/coregrind/m_sparsewa.c 2012-10-27 19:39:11 +01:00 (rev 13088)
+++ trunk/coregrind/m_sparsewa.c 2012-10-28 00:07:42 -23:00 (rev 13089)
@@ -79,8 +79,8 @@
SWAStackElem;
struct _SparseWA {
- void* (*alloc_nofail)(HChar*,SizeT);
- HChar* cc;
+ void* (*alloc_nofail)(const HChar*,SizeT);
+ const HChar* cc;
void (*dealloc)(void*);
LevelN* root;
SWAStackElem iterStack[8];
@@ -231,8 +231,8 @@
}
-SparseWA* VG_(newSWA) ( void*(*alloc_nofail)(HChar* cc, SizeT),
- HChar* cc,
+SparseWA* VG_(newSWA) ( void*(*alloc_nofail)(const HChar* cc, SizeT),
+ const HChar* cc,
void(*dealloc)(void*) )
{
SparseWA* swa;
Modified: trunk/include/pub_tool_oset.h (+5 -4)
===================================================================
--- trunk/include/pub_tool_oset.h 2012-10-27 19:39:11 +01:00 (rev 13088)
+++ trunk/include/pub_tool_oset.h 2012-10-28 00:07:42 -23:00 (rev 13089)
@@ -77,7 +77,7 @@
// - Free: frees a chunk of memory allocated with Alloc.
typedef Word (*OSetCmp_t) ( const void* key, const void* elem );
-typedef void* (*OSetAlloc_t) ( HChar* cc, SizeT szB );
+typedef void* (*OSetAlloc_t) ( const HChar* cc, SizeT szB );
typedef void (*OSetFree_t) ( void* p );
/*--------------------------------------------------------------------*/
@@ -99,7 +99,7 @@
// to allow the destruction of any attached resources; if NULL it is not
// called.
-extern OSet* VG_(OSetWord_Create) ( OSetAlloc_t alloc, HChar* cc,
+extern OSet* VG_(OSetWord_Create) ( OSetAlloc_t alloc, const HChar* cc,
OSetFree_t _free );
extern void VG_(OSetWord_Destroy) ( OSet* os );
@@ -197,12 +197,13 @@
// lead to assertions in Valgrind's allocator.
extern OSet* VG_(OSetGen_Create) ( PtrdiffT keyOff, OSetCmp_t cmp,
- OSetAlloc_t alloc, HChar* cc,
+ OSetAlloc_t alloc, const HChar* cc,
OSetFree_t _free);
extern OSet* VG_(OSetGen_Create_With_Pool) ( PtrdiffT keyOff, OSetCmp_t cmp,
- OSetAlloc_t alloc, HChar* cc,
+ OSetAlloc_t alloc,
+ const HChar* cc,
OSetFree_t _free,
SizeT poolSize,
SizeT maxEltSize);
Modified: trunk/coregrind/m_redir.c (+10 -10)
===================================================================
--- trunk/coregrind/m_redir.c 2012-10-27 19:39:11 +01:00 (rev 13088)
+++ trunk/coregrind/m_redir.c 2012-10-28 00:07:42 -23:00 (rev 13089)
@@ -302,13 +302,13 @@
static void maybe_add_active ( Active /*by value; callee copies*/ );
-static void* dinfo_zalloc(HChar* ec, SizeT);
+static void* dinfo_zalloc(const HChar* ec, SizeT);
static void dinfo_free(void*);
-static HChar* dinfo_strdup(HChar* ec, HChar*);
+static HChar* dinfo_strdup(const HChar* ec, const HChar*);
static Bool is_plausible_guest_addr(Addr);
-static void show_redir_state ( HChar* who );
-static void show_active ( HChar* left, Active* act );
+static void show_redir_state ( const HChar* who );
+static void show_active ( const HChar* left, Active* act );
static void handle_maybe_load_notifier( const UChar* soname,
HChar* symbol, Addr addr );
@@ -447,7 +447,7 @@
pointing to files inside the valgrind build directories. */
struct vg_stat newdi_stat;
SysRes newdi_res;
- Char in_vglib_filename[VKI_PATH_MAX];
+ HChar in_vglib_filename[VKI_PATH_MAX];
struct vg_stat in_vglib_stat;
SysRes in_vglib_res;
@@ -1382,7 +1382,7 @@
/*--- MISC HELPERS ---*/
/*------------------------------------------------------------*/
-static void* dinfo_zalloc(HChar* ec, SizeT n) {
+static void* dinfo_zalloc(const HChar* ec, SizeT n) {
void* p;
vg_assert(n > 0);
p = VG_(arena_malloc)(VG_AR_DINFO, ec, n);
@@ -1396,7 +1396,7 @@
return VG_(arena_free)(VG_AR_DINFO, p);
}
-static HChar* dinfo_strdup(HChar* ec, HChar* str)
+static HChar* dinfo_strdup(const HChar* ec, const HChar* str)
{
return VG_(arena_strdup)(VG_AR_DINFO, ec, str);
}
@@ -1574,7 +1574,7 @@
/*--- SANITY/DEBUG ---*/
/*------------------------------------------------------------*/
-static void show_spec ( HChar* left, Spec* spec )
+static void show_spec ( const HChar* left, Spec* spec )
{
VG_(message)( Vg_DebugMsg,
"%s%25s %30s %s-> (%04d.%d) 0x%08llx\n",
@@ -1585,7 +1585,7 @@
(ULong)spec->to_addr );
}
-static void show_active ( HChar* left, Active* act )
+static void show_active ( const HChar* left, Active* act )
{
Bool ok;
HChar name1[64] = "";
@@ -1604,7 +1604,7 @@
(ULong)act->to_addr, name2 );
}
-static void show_redir_state ( HChar* who )
+static void show_redir_state ( const HChar* who )
{
TopSpec* ts;
Spec* sp;
Modified: trunk/include/pub_tool_xarray.h (+3 -3)
===================================================================
--- trunk/include/pub_tool_xarray.h 2012-10-27 19:39:11 +01:00 (rev 13088)
+++ trunk/include/pub_tool_xarray.h 2012-10-28 00:07:42 -23:00 (rev 13089)
@@ -49,8 +49,8 @@
/* Create new XArray, using given allocation and free function, and
for elements of the specified size. Alloc fn must not fail (that
is, if it returns it must have succeeded.) */
-extern XArray* VG_(newXA) ( void*(*alloc_fn)(HChar*,SizeT),
- HChar* cc,
+extern XArray* VG_(newXA) ( void*(*alloc_fn)(const HChar*,SizeT),
+ const HChar* cc,
void(*free_fn)(void*),
Word elemSzB );
@@ -129,7 +129,7 @@
space (but did return NULL rather than merely abort.) Space for
the clone (and all additions to it) is billed to 'cc' unless that
is NULL, in which case the parent's cost-center is used. */
-extern XArray* VG_(cloneXA)( HChar* cc, XArray* xa );
+extern XArray* VG_(cloneXA)( const HChar* cc, XArray* xa );
/* Get the raw array and size so callers can index it really fast.
This is dangerous in the sense that there's no range or
Modified: trunk/coregrind/m_oset.c (+4 -4)
===================================================================
--- trunk/coregrind/m_oset.c 2012-10-27 19:39:11 +01:00 (rev 13088)
+++ trunk/coregrind/m_oset.c 2012-10-28 00:07:42 -23:00 (rev 13089)
@@ -113,7 +113,7 @@
SizeT keyOff; // key offset
OSetCmp_t cmp; // compare a key and an element, or NULL
OSetAlloc_t alloc; // allocator
- HChar* cc; // cc for allocator
+ const HChar* cc; // cc for allocator
OSetFree_t free; // deallocator
PoolAlloc* node_pa; // (optional) pool allocator for nodes.
SizeT maxEltSize; // for node_pa, must be > 0. Otherwise unused.
@@ -286,7 +286,7 @@
// The underscores avoid GCC complaints about overshadowing global names.
AvlTree* VG_(OSetGen_Create)(PtrdiffT _keyOff, OSetCmp_t _cmp,
- OSetAlloc_t _alloc, HChar* _cc,
+ OSetAlloc_t _alloc, const HChar* _cc,
OSetFree_t _free)
{
AvlTree* t;
@@ -315,7 +315,7 @@
}
AvlTree* VG_(OSetGen_Create_With_Pool)(PtrdiffT _keyOff, OSetCmp_t _cmp,
- OSetAlloc_t _alloc, HChar* _cc,
+ OSetAlloc_t _alloc, const HChar* _cc,
OSetFree_t _free,
SizeT _poolSize,
SizeT _maxEltSize)
@@ -363,7 +363,7 @@
return t;
}
-AvlTree* VG_(OSetWord_Create)(OSetAlloc_t _alloc, HChar* _cc,
+AvlTree* VG_(OSetWord_Create)(OSetAlloc_t _alloc, const HChar* _cc,
OSetFree_t _free)
{
return VG_(OSetGen_Create)(/*keyOff*/0, /*cmp*/NULL, _alloc, _cc, _free);
Modified: trunk/include/pub_tool_mallocfree.h (+5 -5)
===================================================================
--- trunk/include/pub_tool_mallocfree.h 2012-10-27 19:39:11 +01:00 (rev 13088)
+++ trunk/include/pub_tool_mallocfree.h 2012-10-28 00:07:42 -23:00 (rev 13089)
@@ -37,11 +37,11 @@
// will abort if they can't allocate the memory).
// The 'cc' is a string that identifies the allocation point. It's used when
// --profile-heap=yes is specified.
-extern void* VG_(malloc) ( HChar* cc, SizeT nbytes );
+extern void* VG_(malloc) ( const HChar* cc, SizeT nbytes );
extern void VG_(free) ( void* p );
-extern void* VG_(calloc) ( HChar* cc, SizeT n, SizeT bytes_per_elem );
-extern void* VG_(realloc) ( HChar* cc, void* p, SizeT size );
-extern Char* VG_(strdup) ( HChar* cc, const Char* s );
+extern void* VG_(calloc) ( const HChar* cc, SizeT n, SizeT bytes_per_elem );
+extern void* VG_(realloc) ( const HChar* cc, void* p, SizeT size );
+extern Char* VG_(strdup) ( const HChar* cc, const Char* s );
// Returns the usable size of a heap-block. It's the asked-for size plus
// possibly some more due to rounding up.
@@ -58,7 +58,7 @@
// TODO: move somewhere else
// Call here to bomb the system when out of memory (mmap anon fails)
__attribute__((noreturn))
-extern void VG_(out_of_memory_NORETURN) ( HChar* who, SizeT szB );
+extern void VG_(out_of_memory_NORETURN) ( const HChar* who, SizeT szB );
#endif // __PUB_TOOL_MALLOCFREE_H
Modified: trunk/helgrind/hg_wordset.h (+3 -3)
===================================================================
--- trunk/helgrind/hg_wordset.h 2012-10-27 19:39:11 +01:00 (rev 13088)
+++ trunk/helgrind/hg_wordset.h 2012-10-28 00:07:42 -23:00 (rev 13089)
@@ -47,8 +47,8 @@
typedef UInt WordSet; /* opaque, small int index */
/* Allocate and initialise a WordSetU */
-WordSetU* HG_(newWordSetU) ( void* (*alloc_nofail)( HChar*, SizeT ),
- HChar* cc,
+WordSetU* HG_(newWordSetU) ( void* (*alloc_nofail)( const HChar*, SizeT ),
+ const HChar* cc,
void (*dealloc)(void*),
Word cacheSize );
@@ -60,7 +60,7 @@
UWord HG_(cardinalityWSU) ( WordSetU* );
/* Show performance stats for this WordSetU. */
-void HG_(ppWSUstats) ( WordSetU* wsu, HChar* name );
+void HG_(ppWSUstats) ( WordSetU* wsu, const HChar* name );
/* Element-level operations on WordSets. Note that the WordSet
Modified: trunk/helgrind/hg_wordset.c (+10 -10)
===================================================================
--- trunk/helgrind/hg_wordset.c 2012-10-27 19:39:11 +01:00 (rev 13088)
+++ trunk/helgrind/hg_wordset.c 2012-10-28 00:07:42 -23:00 (rev 13089)
@@ -148,8 +148,8 @@
vec2ix. The entry of the dead WVs in ix2vec are used to maintain a
linked list of free (to be re-used) ix2vec entries. */
struct _WordSetU {
- void* (*alloc)(HChar*,SizeT);
- HChar* cc;
+ void* (*alloc)(const HChar*,SizeT);
+ const HChar* cc;
void (*dealloc)(void*);
WordFM* vec2ix; /* WordVec-to-WordSet mapping tree */
WordVec** ix2vec; /* WordSet-to-WordVec mapping array */
@@ -319,8 +319,8 @@
causes failures on a 64-bit platform. */
tl_assert(wv_new->owner == wsu);
have = VG_(lookupFM)( wsu->vec2ix,
- (Word*)&wv_old, (Word*)&ix_old,
- (Word)wv_new );
+ (UWord*)&wv_old, (UWord*)&ix_old,
+ (UWord)wv_new );
if (have) {
tl_assert(wv_old != wv_new);
tl_assert(wv_old);
@@ -336,7 +336,7 @@
tl_assert(wsu->ix2vec[ws] == NULL || is_dead(wsu,wsu->ix2vec[ws]));
wsu->ix2vec_free = (WordVec **) wsu->ix2vec[ws];
wsu->ix2vec[ws] = wv_new;
- VG_(addToFM)( wsu->vec2ix, (Word)wv_new, ws );
+ VG_(addToFM)( wsu->vec2ix, (UWord)wv_new, ws );
if (HG_DEBUG) VG_(printf)("aodW %s re-use free %d %p\n", wsu->cc, (Int)ws, wv_new );
return ws;
} else {
@@ -353,8 +353,8 @@
}
-WordSetU* HG_(newWordSetU) ( void* (*alloc_nofail)( HChar*, SizeT ),
- HChar* cc,
+WordSetU* HG_(newWordSetU) ( void* (*alloc_nofail)( const HChar*, SizeT ),
+ const HChar* cc,
void (*dealloc)(void*),
Word cacheSize )
{
@@ -477,8 +477,8 @@
wsu->ix2vec_free = &wsu->ix2vec[ws];
VG_(delFromFM) ( wsu->vec2ix,
- (Word*)&wv_in_vec2ix, (Word*)&wv_ix,
- (Word)wv );
+ (UWord*)&wv_in_vec2ix, (UWord*)&wv_ix,
+ (UWord)wv );
if (HG_DEBUG) VG_(printf)("dieWS wv_ix %d\n", (Int)wv_ix);
tl_assert (wv_ix);
@@ -580,7 +580,7 @@
VG_(printf)("}");
}
-void HG_(ppWSUstats) ( WordSetU* wsu, HChar* name )
+void HG_(ppWSUstats) ( WordSetU* wsu, const HChar* name )
{
VG_(printf)(" WordSet \"%s\":\n", name);
VG_(printf)(" addTo %10lu (%lu uncached)\n",
Modified: trunk/drd/tests/unit_vc.c (+2 -2)
===================================================================
--- trunk/drd/tests/unit_vc.c 2012-10-27 19:39:11 +01:00 (rev 13088)
+++ trunk/drd/tests/unit_vc.c 2012-10-28 00:07:42 -23:00 (rev 13089)
@@ -10,9 +10,9 @@
/* Replacements for Valgrind core functionality. */
-void* VG_(malloc)(HChar* cc, SizeT nbytes)
+void* VG_(malloc)(const HChar* cc, SizeT nbytes)
{ return malloc(nbytes); }
-void* VG_(realloc)(HChar* cc, void* p, SizeT size)
+void* VG_(realloc)(const HChar* cc, void* p, SizeT size)
{ return realloc(p, size); }
void VG_(free)(void* p)
{ return free(p); }
Modified: trunk/coregrind/m_errormgr.c (+1 -1)
===================================================================
--- trunk/coregrind/m_errormgr.c 2012-10-27 19:39:11 +01:00 (rev 13088)
+++ trunk/coregrind/m_errormgr.c 2012-10-28 00:07:42 -23:00 (rev 13089)
@@ -346,7 +346,7 @@
*/
static void gen_suppression(Error* err)
{
- Char xtra[256]; /* assumed big enough (is overrun-safe) */
+ HChar xtra[256]; /* assumed big enough (is overrun-safe) */
Bool anyXtra;
const HChar* name;
ExeContext* ec;
|
|
From: <sv...@va...> - 2012-10-27 18:39:21
|
florian 2012-10-27 19:39:11 +0100 (Sat, 27 Oct 2012)
New Revision: 13088
Log:
More Char/HChar fixes and constification.
Modified files:
trunk/cachegrind/cg_main.c
trunk/cachegrind/cg_sim.c
trunk/callgrind/dump.c
trunk/callgrind/events.c
trunk/callgrind/events.h
trunk/callgrind/fn.c
trunk/callgrind/global.h
trunk/callgrind/main.c
trunk/callgrind/sim.c
trunk/coregrind/m_aspacemgr/aspacemgr-common.c
trunk/coregrind/m_aspacemgr/aspacemgr-linux.c
trunk/coregrind/m_aspacemgr/priv_aspacemgr.h
trunk/coregrind/m_coredump/coredump-elf.c
trunk/coregrind/m_debugger.c
trunk/coregrind/m_debuglog.c
trunk/coregrind/m_errormgr.c
trunk/coregrind/m_gdbserver/server.c
trunk/coregrind/m_hashtable.c
trunk/coregrind/m_libcassert.c
trunk/coregrind/m_libcfile.c
trunk/coregrind/m_libcprint.c
trunk/coregrind/m_main.c
trunk/coregrind/m_scheduler/scheduler.c
trunk/coregrind/m_tooliface.c
trunk/coregrind/m_translate.c
trunk/coregrind/m_vkiscnums.c
trunk/coregrind/pub_core_aspacemgr.h
trunk/coregrind/pub_core_debuglog.h
trunk/coregrind/pub_core_libcfile.h
trunk/coregrind/pub_core_scheduler.h
trunk/coregrind/pub_core_tooliface.h
trunk/drd/drd_error.c
trunk/drd/tests/unit_vc.c
trunk/exp-bbv/bbv_main.c
trunk/exp-sgcheck/pc_common.c
trunk/exp-sgcheck/pc_common.h
trunk/helgrind/hg_errors.c
trunk/helgrind/hg_errors.h
trunk/include/pub_tool_hashtable.h
trunk/include/pub_tool_libcprint.h
trunk/include/pub_tool_tooliface.h
trunk/include/pub_tool_vkiscnums.h
trunk/massif/ms_main.c
trunk/memcheck/mc_errors.c
trunk/memcheck/mc_include.h
trunk/memcheck/mc_main.c
Modified: trunk/coregrind/m_debuglog.c (+26 -26)
===================================================================
--- trunk/coregrind/m_debuglog.c 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/coregrind/m_debuglog.c 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -71,7 +71,7 @@
#if defined(VGP_x86_linux)
-static UInt local_sys_write_stderr ( HChar* buf, Int n )
+static UInt local_sys_write_stderr ( const HChar* buf, Int n )
{
Int result;
@@ -104,7 +104,7 @@
#elif defined(VGP_amd64_linux)
__attribute__((noinline))
-static UInt local_sys_write_stderr ( HChar* buf, Int n )
+static UInt local_sys_write_stderr ( const HChar* buf, Int n )
{
volatile Long block[2];
block[0] = (Long)buf;
@@ -147,7 +147,7 @@
#elif defined(VGP_ppc32_linux)
-static UInt local_sys_write_stderr ( HChar* buf, Int n )
+static UInt local_sys_write_stderr ( const HChar* buf, Int n )
{
volatile Int block[2];
block[0] = (Int)buf;
@@ -190,7 +190,7 @@
#elif defined(VGP_ppc64_linux)
-static UInt local_sys_write_stderr ( HChar* buf, Int n )
+static UInt local_sys_write_stderr ( const HChar* buf, Int n )
{
volatile Long block[2];
block[0] = (Long)buf;
@@ -233,7 +233,7 @@
#elif defined(VGP_arm_linux)
-static UInt local_sys_write_stderr ( HChar* buf, Int n )
+static UInt local_sys_write_stderr ( const HChar* buf, Int n )
{
volatile Int block[2];
block[0] = (Int)buf;
@@ -274,7 +274,7 @@
asm code. Both macros give the same results for Unix-class syscalls (which
these all are, as identified by the use of 'int 0x80'). */
__attribute__((noinline))
-static UInt local_sys_write_stderr ( HChar* buf, Int n )
+static UInt local_sys_write_stderr ( const HChar* buf, Int n )
{
UInt __res;
__asm__ volatile (
@@ -316,7 +316,7 @@
#elif defined(VGP_amd64_darwin)
__attribute__((noinline))
-static UInt local_sys_write_stderr ( HChar* buf, Int n )
+static UInt local_sys_write_stderr ( const HChar* buf, Int n )
{
UInt __res;
__asm__ volatile (
@@ -350,12 +350,12 @@
}
#elif defined(VGP_s390x_linux)
-static UInt local_sys_write_stderr ( HChar* buf, Int n )
+static UInt local_sys_write_stderr ( const HChar* buf, Int n )
{
- register Int r2 asm("2") = 2; /* file descriptor STDERR */
- register HChar* r3 asm("3") = buf;
- register ULong r4 asm("4") = n;
- register ULong r2_res asm("2");
+ register Int r2 asm("2") = 2; /* file descriptor STDERR */
+ register const HChar* r3 asm("3") = buf;
+ register ULong r4 asm("4") = n;
+ register ULong r2_res asm("2");
ULong __res;
__asm__ __volatile__ (
@@ -391,7 +391,7 @@
}
#elif defined(VGP_mips32_linux)
-static UInt local_sys_write_stderr ( HChar* buf, Int n )
+static UInt local_sys_write_stderr ( const HChar* buf, Int n )
{
volatile Int block[2];
block[0] = (Int)buf;
@@ -453,7 +453,7 @@
/* Emit buf[0 .. n-1] to stderr. Unfortunately platform-specific.
*/
-static void emit ( HChar* buf, Int n )
+static void emit ( const HChar* buf, Int n )
{
if (n >= 1)
(void)local_sys_write_stderr(buf, n);
@@ -489,7 +489,7 @@
void* send_arg2,
Int flags,
Int width,
- HChar* str,
+ const HChar* str,
Bool capitalise )
{
# define MAYBE_TOUPPER(ch) (capitalise ? local_toupper(ch) : (ch))
@@ -535,12 +535,12 @@
static
UInt myvprintf_str_XML_simplistic ( void(*send)(HChar,void*),
void* send_arg2,
- HChar* str )
+ const HChar* str )
{
UInt ret = 0;
Int i;
Int len = local_strlen(str);
- HChar* alt;
+ const HChar* alt;
for (i = 0; i < len; i++) {
switch (str[i]) {
@@ -585,7 +585,7 @@
Int ind = 0;
Int i, nc = 0;
Bool neg = False;
- HChar* digits = capitalised ? "0123456789ABCDEF" : "0123456789abcdef";
+ const HChar* digits = capitalised ? "0123456789ABCDEF" : "0123456789abcdef";
UInt ret = 0;
if (base < 2 || base > 16)
@@ -762,15 +762,15 @@
i++;
/* %pS, like %s but escaping chars for XML safety */
/* Note: simplistic; ignores field width and flags */
- char *str = va_arg (vargs, char *);
- if (str == (char*) 0)
+ HChar *str = va_arg (vargs, HChar *);
+ if (str == NULL)
str = "(null)";
ret += myvprintf_str_XML_simplistic(send, send_arg2, str);
} else if (format[i+1] == 's') {
i++;
/* %ps, synonym for %s with --xml=no / %pS with --xml=yes */
- char *str = va_arg (vargs, char *);
- if (str == (char*) 0)
+ HChar *str = va_arg (vargs, HChar *);
+ if (str == NULL)
str = "(null)";
if (clo_xml)
ret += myvprintf_str_XML_simplistic(send, send_arg2, str);
@@ -806,8 +806,8 @@
send(va_arg (vargs, int), send_arg2);
break;
case 's': case 'S': { /* %s */
- char *str = va_arg (vargs, char *);
- if (str == (char*) 0) str = "(null)";
+ HChar *str = va_arg (vargs, HChar *);
+ if (str == NULL) str = "(null)";
ret += myvprintf_str(send, send_arg2,
flags, width, str, format[i]=='S');
break;
@@ -849,7 +849,7 @@
/* Module startup. */
/* EXPORTED */
-void VG_(debugLog_startup) ( Int level, HChar* who )
+void VG_(debugLog_startup) ( Int level, const HChar* who )
{
if (level < 0) level = 0;
if (level > 10) level = 10;
@@ -925,7 +925,7 @@
(void)myvprintf_str ( add_to_buf, &buf, 0, 1, ":", False );
(void)myvprintf_int64 ( add_to_buf, &buf, 0, 10, 1, False, (ULong)level );
(void)myvprintf_str ( add_to_buf, &buf, 0, 1, ":", False );
- (void)myvprintf_str ( add_to_buf, &buf, 0, 8, (HChar*)modulename, False );
+ (void)myvprintf_str ( add_to_buf, &buf, 0, 8, modulename, False );
(void)myvprintf_str ( add_to_buf, &buf, 0, indent, "", False );
va_start(vargs,format);
Modified: trunk/cachegrind/cg_main.c (+3 -2)
===================================================================
--- trunk/cachegrind/cg_main.c 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/cachegrind/cg_main.c 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -1259,7 +1259,8 @@
{
Int i, fd;
SysRes sres;
- Char buf[512], *currFile = NULL, *currFn = NULL;
+ HChar buf[512];
+ Char *currFile = NULL, *currFn = NULL;
LineCC* lineCC;
// Setup output filename. Nb: it's important to do this now, ie. as late
@@ -1464,7 +1465,7 @@
static void cg_fini(Int exitcode)
{
- static Char buf1[128], buf2[128], buf3[128], buf4[123];
+ static HChar buf1[128], buf2[128], buf3[128], buf4[123];
static HChar fmt[128];
CacheCC D_total;
Modified: trunk/coregrind/pub_core_libcfile.h (+1 -1)
===================================================================
--- trunk/coregrind/pub_core_libcfile.h 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/coregrind/pub_core_libcfile.h 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -65,7 +65,7 @@
extern Int VG_(socket) ( Int domain, Int type, Int protocol );
-extern Int VG_(write_socket)( Int sd, void *msg, Int count );
+extern Int VG_(write_socket)( Int sd, const void *msg, Int count );
extern Int VG_(getsockname) ( Int sd, struct vki_sockaddr *name, Int *namelen );
extern Int VG_(getpeername) ( Int sd, struct vki_sockaddr *name, Int *namelen );
extern Int VG_(getsockopt) ( Int sd, Int level, Int optname,
Modified: trunk/coregrind/m_libcfile.c (+1 -1)
===================================================================
--- trunk/coregrind/m_libcfile.c 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/coregrind/m_libcfile.c 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -919,7 +919,7 @@
# endif
}
-Int VG_(write_socket)( Int sd, void *msg, Int count )
+Int VG_(write_socket)( Int sd, const void *msg, Int count )
{
/* This is actually send(). */
Modified: trunk/coregrind/m_libcassert.c (+1 -1)
===================================================================
--- trunk/coregrind/m_libcassert.c 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/coregrind/m_libcassert.c 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -271,7 +271,7 @@
Int line, const HChar* fn, const HChar* format, ... )
{
va_list vargs;
- Char buf[256];
+ HChar buf[256];
const HChar* component;
const HChar* bugs_to;
Modified: trunk/callgrind/events.h (+4 -4)
===================================================================
--- trunk/callgrind/events.h 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/callgrind/events.h 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -79,7 +79,7 @@
EventSet* CLG_(add_event_group2)(EventSet*, Int id1, Int id2);
EventSet* CLG_(add_event_set)(EventSet*, EventSet*);
/* Writes event names into buf. Returns number of characters written */
-Int CLG_(sprint_eventset)(Char* buf, EventSet*);
+Int CLG_(sprint_eventset)(HChar* buf, EventSet*);
/* Operations on costs. A cost pointer of 0 means zero cost.
@@ -106,7 +106,7 @@
Bool CLG_(add_diff_cost)(EventSet*,ULong* dst, ULong* old, ULong* new_cost);
Bool CLG_(add_diff_cost_lz)(EventSet*,ULong** pdst, ULong* old, ULong* new_cost);
/* Returns number of characters written */
-Int CLG_(sprint_cost)(Char* buf, EventSet*, ULong*);
+Int CLG_(sprint_cost)(HChar* buf, EventSet*, ULong*);
/* EventMapping: An ordered subset of events from an event set.
* This is used to print out part of an EventSet, or in another order.
@@ -128,8 +128,8 @@
EventMapping* CLG_(get_eventmapping)(EventSet*);
void CLG_(append_event)(EventMapping*, const HChar*);
/* Returns number of characters written */
-Int CLG_(sprint_eventmapping)(Char* buf, EventMapping*);
+Int CLG_(sprint_eventmapping)(HChar* buf, EventMapping*);
/* Returns number of characters written */
-Int CLG_(sprint_mappingcost)(Char* buf, EventMapping*, ULong*);
+Int CLG_(sprint_mappingcost)(HChar* buf, EventMapping*, ULong*);
#endif /* CLG_EVENTS */
Modified: trunk/callgrind/events.c (+4 -4)
===================================================================
--- trunk/callgrind/events.c 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/callgrind/events.c 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -192,7 +192,7 @@
return eventset_from_mask(es1->mask | es2->mask);
}
-Int CLG_(sprint_eventset)(Char* buf, EventSet* es)
+Int CLG_(sprint_eventset)(HChar* buf, EventSet* es)
{
Int i, j, pos;
UInt mask;
@@ -446,7 +446,7 @@
/* Returns number of characters written */
-Int CLG_(sprint_cost)(Char* buf, EventSet* es, ULong* c)
+Int CLG_(sprint_cost)(HChar* buf, EventSet* es, ULong* c)
{
Int i, pos, skipped = 0;
@@ -518,7 +518,7 @@
/* Returns number of characters written */
-Int CLG_(sprint_eventmapping)(Char* buf, EventMapping* em)
+Int CLG_(sprint_eventmapping)(HChar* buf, EventMapping* em)
{
Int i, pos = 0;
EventGroup* eg;
@@ -537,7 +537,7 @@
}
/* Returns number of characters written */
-Int CLG_(sprint_mappingcost)(Char* buf, EventMapping* em, ULong* c)
+Int CLG_(sprint_mappingcost)(HChar* buf, EventMapping* em, ULong* c)
{
Int i, pos, skipped = 0;
Modified: trunk/cachegrind/cg_sim.c (+1 -1)
===================================================================
--- trunk/cachegrind/cg_sim.c 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/cachegrind/cg_sim.c 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -46,7 +46,7 @@
Int sets_min_1;
Int line_size_bits;
Int tag_shift;
- Char desc_line[128];
+ HChar desc_line[128];
UWord* tags;
} cache_t2;
Modified: trunk/memcheck/mc_main.c (+1 -1)
===================================================================
--- trunk/memcheck/mc_main.c 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/memcheck/mc_main.c 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -966,7 +966,7 @@
secVBitTable = secVBitTable2;
if (VG_(clo_verbosity) > 1) {
- Char percbuf[7];
+ HChar percbuf[7];
VG_(percentify)(n_survivors, n_nodes, 1, 6, percbuf);
VG_(message)(Vg_DebugMsg, "memcheck GC: %d nodes, %d survivors (%s)\n",
n_nodes, n_survivors, percbuf);
Modified: trunk/coregrind/pub_core_tooliface.h (+1 -1)
===================================================================
--- trunk/coregrind/pub_core_tooliface.h 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/coregrind/pub_core_tooliface.h 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -125,7 +125,7 @@
Bool (*tool_read_extra_suppression_info) (Int, Char**, SizeT*, Supp*);
Bool (*tool_error_matches_suppression) (Error*, Supp*);
const HChar* (*tool_get_error_name) (Error*);
- Bool (*tool_get_extra_suppression_info) (Error*,/*OUT*/Char*,Int);
+ Bool (*tool_get_extra_suppression_info) (Error*,/*OUT*/HChar*,Int);
// VG_(needs).superblock_discards
void (*tool_discard_superblock_info)(Addr64, VexGuestExtents);
Modified: trunk/coregrind/pub_core_scheduler.h (+4 -4)
===================================================================
--- trunk/coregrind/pub_core_scheduler.h 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/coregrind/pub_core_scheduler.h 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -57,12 +57,12 @@
thread state to VgTs_Runnable, and the thread will attempt to take
the CPU lock. By the time it returns, tid will be the running
thread. */
-extern void VG_(acquire_BigLock) ( ThreadId tid, HChar* who );
+extern void VG_(acquire_BigLock) ( ThreadId tid, const HChar* who );
/* Simple version, which simply acquires the lock, but does not mess
with the guest state in the same way as the non _LL version
does. */
-extern void VG_(acquire_BigLock_LL) ( HChar* who );
+extern void VG_(acquire_BigLock_LL) ( const HChar* who );
/* Set a thread into a sleeping state. Before the call, the thread
must be runnable, and holding the CPU lock. When this call
@@ -73,10 +73,10 @@
the caller's responsibility to actually block until the thread is
ready to run again. */
extern void VG_(release_BigLock) ( ThreadId tid,
- ThreadStatus state, HChar* who );
+ ThreadStatus state, const HChar* who );
/* Matching function to acquire_BigLock_LL. */
-extern void VG_(release_BigLock_LL) ( HChar* who );
+extern void VG_(release_BigLock_LL) ( const HChar* who );
/* Whether the specified thread owns the big lock. */
extern Bool VG_(owns_BigLock_LL) ( ThreadId tid );
Modified: trunk/coregrind/m_vkiscnums.c (+5 -5)
===================================================================
--- trunk/coregrind/m_vkiscnums.c 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/coregrind/m_vkiscnums.c 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -46,13 +46,13 @@
#if defined(VGO_linux)
//---------------------------------------------------------------------------
-Char* VG_(sysnum_string)(Word sysnum, SizeT n_buf, Char* buf)
+HChar* VG_(sysnum_string)(Word sysnum, SizeT n_buf, HChar* buf)
{
VG_(snprintf)(buf, n_buf, "%3ld", sysnum);
return buf;
}
-Char* VG_(sysnum_string_extra)(Word sysnum, SizeT n_buf, Char* buf)
+HChar* VG_(sysnum_string_extra)(Word sysnum, SizeT n_buf, HChar* buf)
{
return VG_(sysnum_string)(sysnum, n_buf, buf);
}
@@ -61,9 +61,9 @@
#elif defined(VGO_darwin)
//---------------------------------------------------------------------------
-Char* VG_(sysnum_string)(Word sysnum, SizeT n_buf, Char* buf)
+HChar* VG_(sysnum_string)(Word sysnum, SizeT n_buf, HChar* buf)
{
- Char* classname = NULL;
+ const HChar* classname = NULL;
switch (VG_DARWIN_SYSNO_CLASS(sysnum)) {
case VG_DARWIN_SYSCALL_CLASS_MACH: classname = "mach"; break;
case VG_DARWIN_SYSCALL_CLASS_UNIX: classname = "unix"; break;
@@ -76,7 +76,7 @@
return buf;
}
-Char* VG_(sysnum_string_extra)(Word sysnum, SizeT n_buf, Char* buf)
+HChar* VG_(sysnum_string_extra)(Word sysnum, SizeT n_buf, HChar* buf)
{
return VG_(sysnum_string)(sysnum, n_buf, buf);
}
Modified: trunk/coregrind/m_libcprint.c (+7 -7)
===================================================================
--- trunk/coregrind/m_libcprint.c 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/coregrind/m_libcprint.c 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -57,7 +57,7 @@
/* Do the low-level send of a message to the logging sink. */
static
-void send_bytes_to_logging_sink ( OutputSink* sink, Char* msg, Int nbytes )
+void send_bytes_to_logging_sink ( OutputSink* sink, const HChar* msg, Int nbytes )
{
if (sink->is_socket) {
Int rc = VG_(write_socket)( sink->fd, msg, nbytes );
@@ -179,7 +179,7 @@
*(*b)++ = c;
}
-UInt VG_(vsprintf) ( Char* buf, const HChar *format, va_list vargs )
+UInt VG_(vsprintf) ( HChar* buf, const HChar *format, va_list vargs )
{
Int ret;
HChar* sprintf_ptr = buf;
@@ -193,7 +193,7 @@
return ret;
}
-UInt VG_(sprintf) ( Char* buf, const HChar *format, ... )
+UInt VG_(sprintf) ( HChar* buf, const HChar *format, ... )
{
UInt ret;
va_list vargs;
@@ -226,7 +226,7 @@
}
}
-UInt VG_(vsnprintf) ( Char* buf, Int size, const HChar *format, va_list vargs )
+UInt VG_(vsnprintf) ( HChar* buf, Int size, const HChar *format, va_list vargs )
{
snprintf_buf_t b;
b.buf = buf;
@@ -239,7 +239,7 @@
return b.buf_used;
}
-UInt VG_(snprintf) ( Char* buf, Int size, const HChar *format, ... )
+UInt VG_(snprintf) ( HChar* buf, Int size, const HChar *format, ... )
{
UInt ret;
va_list vargs;
@@ -267,11 +267,11 @@
// Percentify n/m with d decimal places. Includes the '%' symbol at the end.
// Right justifies in 'buf'.
-void VG_(percentify)(ULong n, ULong m, UInt d, Int n_buf, char buf[])
+void VG_(percentify)(ULong n, ULong m, UInt d, Int n_buf, HChar buf[])
{
Int i, len, space;
ULong p1;
- Char fmt[32];
+ HChar fmt[32];
if (m == 0) {
// Have to generate the format string in order to be flexible about
Modified: trunk/coregrind/m_errormgr.c (+1 -1)
===================================================================
--- trunk/coregrind/m_errormgr.c 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/coregrind/m_errormgr.c 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -348,7 +348,7 @@
{
Char xtra[256]; /* assumed big enough (is overrun-safe) */
Bool anyXtra;
- Char* name;
+ const HChar* name;
ExeContext* ec;
XArray* /* HChar */ text;
Modified: trunk/coregrind/m_debugger.c (+5 -5)
===================================================================
--- trunk/coregrind/m_debugger.c 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/coregrind/m_debugger.c 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -379,11 +379,11 @@
VG_(kill)(pid, VKI_SIGSTOP) == 0 &&
VG_(ptrace)(VKI_PTRACE_DETACH, pid, NULL, 0) == 0)
{
- Char pidbuf[15];
- Char file[50];
- Char buf[N_BUF];
- Char *bufptr;
- Char *cmdptr;
+ HChar pidbuf[15];
+ HChar file[50];
+ HChar buf[N_BUF];
+ HChar *bufptr;
+ HChar *cmdptr;
VG_(sprintf)(pidbuf, "%d", pid);
VG_(sprintf)(file, "/proc/%d/fd/%d", pid, VG_(cl_exec_fd));
Modified: trunk/include/pub_tool_vkiscnums.h (+4 -4)
===================================================================
--- trunk/include/pub_tool_vkiscnums.h 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/include/pub_tool_vkiscnums.h 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -39,18 +39,18 @@
// This converts a syscall number into a string, suitable for printing. It is
// needed because some platforms (Darwin) munge sysnums in various ways.
// It is used in places where the sycall name will be printed alongside.
-extern Char* VG_(sysnum_string) (Word sysnum, SizeT n_buf, Char* buf);
+extern HChar* VG_(sysnum_string) (Word sysnum, SizeT n_buf, HChar* buf);
// This is like VG_(sysnum_string), but prints extra info if needed. It is
// called in places where the syscall name will *not* be printed alongside.
-extern Char* VG_(sysnum_string_extra)(Word sysnum, SizeT n_buf, Char* buf);
+extern HChar* VG_(sysnum_string_extra)(Word sysnum, SizeT n_buf, HChar* buf);
// Macros that make the above functions easier to use by declaring a local
// buffer.
#define VG_SYSNUM_STRING(sysnum) \
- ({ Char qq_zz_buf[32]; VG_(sysnum_string)(sysnum, 32, qq_zz_buf); })
+ ({ HChar qq_zz_buf[32]; VG_(sysnum_string)(sysnum, 32, qq_zz_buf); })
#define VG_SYSNUM_STRING_EXTRA(sysnum) \
- ({ Char qq_zz_buf[64]; VG_(sysnum_string_extra)(sysnum, 64, qq_zz_buf); })
+ ({ HChar qq_zz_buf[64]; VG_(sysnum_string_extra)(sysnum, 64, qq_zz_buf); })
#endif // __PUB_TOOL_VKISCNUMS_H
Modified: trunk/include/pub_tool_libcprint.h (+5 -5)
===================================================================
--- trunk/include/pub_tool_libcprint.h 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/include/pub_tool_libcprint.h 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -35,23 +35,23 @@
Formatting functions
------------------------------------------------------------------ */
-extern UInt VG_(sprintf) ( Char* buf, const HChar* format, ... )
+extern UInt VG_(sprintf) ( HChar* buf, const HChar* format, ... )
PRINTF_CHECK(2, 3);
-extern UInt VG_(vsprintf) ( Char* buf, const HChar* format, va_list vargs )
+extern UInt VG_(vsprintf) ( HChar* buf, const HChar* format, va_list vargs )
PRINTF_CHECK(2, 0);
-extern UInt VG_(snprintf) ( Char* buf, Int size,
+extern UInt VG_(snprintf) ( HChar* buf, Int size,
const HChar *format, ... )
PRINTF_CHECK(3, 4);
-extern UInt VG_(vsnprintf)( Char* buf, Int size,
+extern UInt VG_(vsnprintf)( HChar* buf, Int size,
const HChar *format, va_list vargs )
PRINTF_CHECK(3, 0);
// Percentify n/m with d decimal places. Includes the '%' symbol at the end.
// Right justifies in 'buf'.
-extern void VG_(percentify)(ULong n, ULong m, UInt d, Int n_buf, char buf[]);
+extern void VG_(percentify)(ULong n, ULong m, UInt d, Int n_buf, HChar buf[]);
/* ---------------------------------------------------------------------
Modified: trunk/drd/drd_error.c (+1 -1)
===================================================================
--- trunk/drd/drd_error.c 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/drd/drd_error.c 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -602,7 +602,7 @@
*/
static
Bool drd_get_extra_suppression_info(Error* e,
- /*OUT*/Char* buf, Int nBuf)
+ /*OUT*/HChar* buf, Int nBuf)
{
return False;
}
Modified: trunk/coregrind/m_translate.c (+1 -1)
===================================================================
--- trunk/coregrind/m_translate.c 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/coregrind/m_translate.c 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -73,7 +73,7 @@
void VG_(print_translation_stats) ( void )
{
- Char buf[7];
+ HChar buf[7];
UInt n_SP_updates = n_SP_updates_fast + n_SP_updates_generic_known
+ n_SP_updates_generic_unknown;
VG_(percentify)(n_SP_updates_fast, n_SP_updates, 1, 6, buf);
Modified: trunk/coregrind/m_main.c (+1 -1)
===================================================================
--- trunk/coregrind/m_main.c 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/coregrind/m_main.c 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -1415,7 +1415,7 @@
void show_BB_profile ( BBProfEntry tops[], UInt n_tops, ULong score_total )
{
ULong score_cumul, score_here;
- Char buf_cumul[10], buf_here[10];
+ HChar buf_cumul[10], buf_here[10];
Char name[64];
Int r;
Modified: trunk/coregrind/m_gdbserver/server.c (+1 -0)
===================================================================
--- trunk/coregrind/m_gdbserver/server.c 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/coregrind/m_gdbserver/server.c 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -27,6 +27,7 @@
#include "pub_core_translate.h"
#include "pub_core_mallocfree.h"
#include "pub_core_initimg.h"
+#include "pub_core_syswrap.h" // VG_(show_open_fds)
unsigned long cont_thread;
unsigned long general_thread;
Modified: trunk/callgrind/main.c (+3 -3)
===================================================================
--- trunk/callgrind/main.c 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/callgrind/main.c 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -1403,7 +1403,7 @@
/* helper for dump_state_togdb */
static void dump_state_of_thread_togdb(thread_info* ti)
{
- static Char buf[512];
+ static HChar buf[512];
static FullCost sum = 0, tmp = 0;
Int t, p, i;
BBCC *from, *to;
@@ -1449,7 +1449,7 @@
/* Dump current state */
static void dump_state_togdb(void)
{
- static Char buf[512];
+ static HChar buf[512];
thread_info** th;
int t, p;
Int orig_tid = CLG_(current_tid);
@@ -1700,7 +1700,7 @@
static
void branchsim_printstat(int l1, int l2, int l3)
{
- static Char buf1[128], buf2[128], buf3[128];
+ static HChar buf1[128], buf2[128], buf3[128];
static HChar fmt[128];
FullCost total;
ULong Bc_total_b, Bc_total_mp, Bi_total_b, Bi_total_mp;
Modified: trunk/memcheck/mc_errors.c (+12 -12)
===================================================================
--- trunk/memcheck/mc_errors.c 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/memcheck/mc_errors.c 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -270,7 +270,7 @@
/* Do a printf-style operation on either the XML or normal output
channel, depending on the setting of VG_(clo_xml).
*/
-static void emit_WRK ( HChar* format, va_list vargs )
+static void emit_WRK ( const HChar* format, va_list vargs )
{
if (VG_(clo_xml)) {
VG_(vprintf_xml)(format, vargs);
@@ -278,15 +278,15 @@
VG_(vmessage)(Vg_UserMsg, format, vargs);
}
}
-static void emit ( HChar* format, ... ) PRINTF_CHECK(1, 2);
-static void emit ( HChar* format, ... )
+static void emit ( const HChar* format, ... ) PRINTF_CHECK(1, 2);
+static void emit ( const HChar* format, ... )
{
va_list vargs;
va_start(vargs, format);
emit_WRK(format, vargs);
va_end(vargs);
}
-static void emiN ( HChar* format, ... ) /* NO FORMAT CHECK */
+static void emiN ( const HChar* format, ... ) /* NO FORMAT CHECK */
{
va_list vargs;
va_start(vargs, format);
@@ -433,9 +433,9 @@
}
}
-char * MC_(snprintf_delta) (char * buf, Int size,
- SizeT current_val, SizeT old_val,
- LeakCheckDeltaMode delta_mode)
+HChar * MC_(snprintf_delta) (HChar * buf, Int size,
+ SizeT current_val, SizeT old_val,
+ LeakCheckDeltaMode delta_mode)
{
if (delta_mode == LCD_Any)
buf[0] = '\0';
@@ -452,10 +452,10 @@
{
// char arrays to produce the indication of increase/decrease in case
// of delta_mode != LCD_Any
- char d_bytes[20];
- char d_direct_bytes[20];
- char d_indirect_bytes[20];
- char d_num_blocks[20];
+ HChar d_bytes[20];
+ HChar d_direct_bytes[20];
+ HChar d_indirect_bytes[20];
+ HChar d_num_blocks[20];
MC_(snprintf_delta) (d_bytes, 20,
lr->szB + lr->indirect_szB,
@@ -1559,7 +1559,7 @@
}
Bool MC_(get_extra_suppression_info) ( Error* err,
- /*OUT*/Char* buf, Int nBuf )
+ /*OUT*/HChar* buf, Int nBuf )
{
ErrorKind ekind = VG_(get_error_kind )(err);
tl_assert(buf);
Modified: trunk/include/pub_tool_hashtable.h (+1 -1)
===================================================================
--- trunk/include/pub_tool_hashtable.h 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/include/pub_tool_hashtable.h 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -53,7 +53,7 @@
be freed with VG_(free)(). The table starts small but will
periodically be expanded. This is transparent to the users of this
module. */
-extern VgHashTable VG_(HT_construct) ( HChar* name );
+extern VgHashTable VG_(HT_construct) ( const HChar* name );
/* Count the number of nodes in a table. */
extern Int VG_(HT_count_nodes) ( VgHashTable table );
Modified: trunk/callgrind/global.h (+1 -1)
===================================================================
--- trunk/callgrind/global.h 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/callgrind/global.h 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -660,7 +660,7 @@
Bool (*parse_opt)(Char* arg);
void (*post_clo_init)(void);
void (*clear)(void);
- void (*getdesc)(Char* buf);
+ void (*getdesc)(HChar* buf);
void (*printstat)(Int,Int,Int);
void (*add_icost)(SimCost, BBCC*, InstrInfo*, ULong);
void (*finish)(void);
Modified: trunk/exp-bbv/bbv_main.c (+2 -2)
===================================================================
--- trunk/exp-bbv/bbv_main.c 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/exp-bbv/bbv_main.c 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -66,7 +66,7 @@
static Bool generate_pc_file=False;
/* write buffer */
-static UChar buf[1024];
+static HChar buf[1024];
/* Global values */
static OSet* instr_info_table; /* table that holds the basic block info */
@@ -137,7 +137,7 @@
static Int open_tracefile(Int thread_num)
{
SysRes sres;
- UChar temp_string[2048];
+ HChar temp_string[2048];
/* For thread 1, don't append any thread number */
/* This lets the single-thread case not have any */
Modified: trunk/coregrind/pub_core_debuglog.h (+1 -1)
===================================================================
--- trunk/coregrind/pub_core_debuglog.h 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/coregrind/pub_core_debuglog.h 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -56,7 +56,7 @@
/* Module startup. */
extern
-void VG_(debugLog_startup) ( Int level, HChar* who );
+void VG_(debugLog_startup) ( Int level, const HChar* who );
/* Whether %ps should escape XML metacharacters. */
Modified: trunk/coregrind/pub_core_aspacemgr.h (+1 -1)
===================================================================
--- trunk/coregrind/pub_core_aspacemgr.h 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/coregrind/pub_core_aspacemgr.h 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -98,7 +98,7 @@
extern ULong VG_(am_get_anonsize_total)( void );
/* Show the segment array on the debug log, at given loglevel. */
-extern void VG_(am_show_nsegments) ( Int logLevel, HChar* who );
+extern void VG_(am_show_nsegments) ( Int logLevel, const HChar* who );
/* Get the filename corresponding to this segment, if known and if it
has one. The returned name's storage cannot be assumed to be
Modified: trunk/coregrind/m_hashtable.c (+2 -2)
===================================================================
--- trunk/coregrind/m_hashtable.c 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/coregrind/m_hashtable.c 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -47,7 +47,7 @@
UInt iterChain; // next chain to be traversed by the iterator
VgHashNode** chains; // expanding array of hash chains
Bool iterOK; // table safe to iterate over?
- HChar* name; // name of table (for debugging only)
+ const HChar* name; // name of table (for debugging only)
};
#define N_HASH_PRIMES 20
@@ -64,7 +64,7 @@
/*--- Functions ---*/
/*--------------------------------------------------------------------*/
-VgHashTable VG_(HT_construct) ( HChar* name )
+VgHashTable VG_(HT_construct) ( const HChar* name )
{
/* Initialises to zero, ie. all entries NULL */
SizeT n_chains = primes[0];
Modified: trunk/coregrind/m_aspacemgr/aspacemgr-common.c (+6 -6)
===================================================================
--- trunk/coregrind/m_aspacemgr/aspacemgr-common.c 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/coregrind/m_aspacemgr/aspacemgr-common.c 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -64,14 +64,14 @@
aspacem_assert(2+2 == 5);
}
-void ML_(am_barf) ( HChar* what )
+void ML_(am_barf) ( const HChar* what )
{
VG_(debugLog)(0, "aspacem", "Valgrind: FATAL: %s\n", what);
VG_(debugLog)(0, "aspacem", "Exiting now.\n");
ML_(am_exit)(1);
}
-void ML_(am_barf_toolow) ( HChar* what )
+void ML_(am_barf_toolow) ( const HChar* what )
{
VG_(debugLog)(0, "aspacem",
"Valgrind: FATAL: %s is too low.\n", what);
@@ -81,9 +81,9 @@
}
void ML_(am_assert_fail)( const HChar* expr,
- const Char* file,
+ const HChar* file,
Int line,
- const Char* fn )
+ const HChar* fn )
{
VG_(debugLog)(0, "aspacem",
"Valgrind: FATAL: aspacem assertion failed:\n");
@@ -115,7 +115,7 @@
UInt local_vsprintf ( HChar* buf, const HChar *format, va_list vargs )
{
Int ret;
- Char *aspacem_sprintf_ptr = buf;
+ HChar *aspacem_sprintf_ptr = buf;
ret = VG_(debugLog_vprintf)
( local_add_to_aspacem_sprintf_buf,
@@ -240,7 +240,7 @@
/* --- Pertaining to files --- */
-SysRes ML_(am_open) ( const Char* pathname, Int flags, Int mode )
+SysRes ML_(am_open) ( const HChar* pathname, Int flags, Int mode )
{
SysRes res = VG_(do_syscall3)(__NR_open, (UWord)pathname, flags, mode);
return res;
Modified: trunk/callgrind/sim.c (+5 -6)
===================================================================
--- trunk/callgrind/sim.c 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/callgrind/sim.c 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -66,7 +66,7 @@
/* Cache state */
typedef struct {
- char* name;
+ const HChar* name;
int size; /* bytes */
int assoc;
int line_size; /* bytes */
@@ -76,7 +76,7 @@
int line_size_bits;
int tag_shift;
UWord tag_mask;
- char desc_line[128];
+ HChar desc_line[128];
UWord* tags;
/* for cache use */
@@ -1418,7 +1418,7 @@
}
-static void cachesim_getdesc(Char* buf)
+static void cachesim_getdesc(HChar* buf)
{
Int p;
p = VG_(sprintf)(buf, "\ndesc: I1 cache: %s\n", I1.desc_line);
@@ -1472,7 +1472,7 @@
/* Adds commas to ULong, right justifying in a field field_width wide, returns
* the string in buf. */
static
-Int commify(ULong n, int field_width, char* buf)
+Int commify(ULong n, int field_width, HChar* buf)
{
int len, n_commas, i, j, new_len, space;
@@ -1502,7 +1502,7 @@
}
static
-void percentify(Int n, Int ex, Int field_width, char buf[])
+void percentify(Int n, Int ex, Int field_width, HChar buf[])
{
int i, len, space;
@@ -1796,4 +1796,3 @@
/*--------------------------------------------------------------------*/
/*--- end ct_sim.c ---*/
/*--------------------------------------------------------------------*/
-
Modified: trunk/massif/ms_main.c (+3 -3)
===================================================================
--- trunk/massif/ms_main.c 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/massif/ms_main.c 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -2139,7 +2139,7 @@
//--- Writing snapshots ---//
//------------------------------------------------------------//
-Char FP_buf[BUF_LEN];
+HChar FP_buf[BUF_LEN];
// XXX: implement f{,n}printf in m_libcprint.c eventually, and use it here.
// Then change Cachegrind to use it too.
@@ -2150,9 +2150,9 @@
})
// Nb: uses a static buffer, each call trashes the last string returned.
-static Char* make_perc(double x)
+static HChar* make_perc(double x)
{
- static Char mbuf[32];
+ static HChar mbuf[32];
VG_(percentify)((ULong)(x * 100), 10000, 2, 6, mbuf);
// XXX: this is bogus if the denominator was zero -- resulting string is
Modified: trunk/coregrind/m_aspacemgr/priv_aspacemgr.h (+5 -5)
===================================================================
--- trunk/coregrind/m_aspacemgr/priv_aspacemgr.h 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/coregrind/m_aspacemgr/priv_aspacemgr.h 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -65,14 +65,14 @@
__attribute__ ((noreturn))
extern void ML_(am_exit) ( Int status );
-extern void ML_(am_barf) ( HChar* what );
-extern void ML_(am_barf_toolow) ( HChar* what );
+extern void ML_(am_barf) ( const HChar* what );
+extern void ML_(am_barf_toolow) ( const HChar* what );
__attribute__ ((noreturn))
extern void ML_(am_assert_fail) ( const HChar* expr,
- const Char* file,
+ const HChar* file,
Int line,
- const Char* fn );
+ const HChar* fn );
#define aspacem_assert(expr) \
((void) ((expr) ? 0 : \
@@ -105,7 +105,7 @@
/* There is also VG_(do_mmap_NO_NOTIFY), but that's not declared
here (obviously). */
-extern SysRes ML_(am_open) ( const Char* pathname, Int flags, Int mode );
+extern SysRes ML_(am_open) ( const HChar* pathname, Int flags, Int mode );
extern void ML_(am_close) ( Int fd );
extern Int ML_(am_read) ( Int fd, void* buf, Int count);
extern Int ML_(am_readlink) ( HChar* path, HChar* buf, UInt bufsiz );
Modified: trunk/callgrind/fn.c (+1 -1)
===================================================================
--- trunk/callgrind/fn.c 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/callgrind/fn.c 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -488,7 +488,7 @@
*/
fn_node* CLG_(get_fn_node)(BB* bb)
{
- Char filename[FILENAME_LEN], fnname[FN_NAME_LEN];
+ HChar filename[FILENAME_LEN], fnname[FN_NAME_LEN];
DebugInfo* di;
UInt line_num;
fn_node* fn;
Modified: trunk/memcheck/mc_include.h (+4 -4)
===================================================================
--- trunk/memcheck/mc_include.h 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/memcheck/mc_include.h 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -342,9 +342,9 @@
// if delta_mode == LCD_Any, prints in buf an empty string
// otherwise prints a delta in the layout " (+%'lu)" or " (-%'lu)"
-extern char * MC_(snprintf_delta) (char * buf, Int size,
- SizeT current_val, SizeT old_val,
- LeakCheckDeltaMode delta_mode);
+extern HChar * MC_(snprintf_delta) (HChar * buf, Int size,
+ SizeT current_val, SizeT old_val,
+ LeakCheckDeltaMode delta_mode);
Bool MC_(is_valid_aligned_word) ( Addr a );
@@ -380,7 +380,7 @@
Bool MC_(error_matches_suppression) ( Error* err, Supp* su );
Bool MC_(get_extra_suppression_info) ( Error* err,
- /*OUT*/Char* buf, Int nBuf );
+ /*OUT*/HChar* buf, Int nBuf );
const HChar* MC_(get_error_name) ( Error* err );
Modified: trunk/helgrind/hg_errors.h (+1 -1)
===================================================================
--- trunk/helgrind/hg_errors.h 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/helgrind/hg_errors.h 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -45,7 +45,7 @@
Bool HG_(error_matches_suppression) ( Error* err, Supp* su );
const HChar* HG_(get_error_name) ( Error* err );
Bool HG_(get_extra_suppression_info) ( Error* err,
- /*OUT*/Char* buf, Int nBuf );
+ /*OUT*/HChar* buf, Int nBuf );
/* Functions for recording various kinds of errors. */
void HG_(record_error_Race) ( Thread* thr,
Modified: trunk/helgrind/hg_errors.c (+1 -1)
===================================================================
--- trunk/helgrind/hg_errors.c 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/helgrind/hg_errors.c 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -1390,7 +1390,7 @@
}
Bool HG_(get_extra_suppression_info) ( Error* err,
- /*OUT*/Char* buf, Int nBuf )
+ /*OUT*/HChar* buf, Int nBuf )
{
/* Do nothing */
return False;
Modified: trunk/exp-sgcheck/pc_common.h (+1 -1)
===================================================================
--- trunk/exp-sgcheck/pc_common.h 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/exp-sgcheck/pc_common.h 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -57,7 +57,7 @@
Bool pc_error_matches_suppression (Error* err, Supp* su);
const HChar* pc_get_error_name ( Error* err );
Bool pc_get_extra_suppression_info ( Error* err,
- /*OUT*/Char* buf, Int nBuf );
+ /*OUT*/HChar* buf, Int nBuf );
extern Bool h_clo_partial_loads_ok;
/* extern Bool h_clo_lossage_check; */
Modified: trunk/exp-sgcheck/pc_common.c (+9 -9)
===================================================================
--- trunk/exp-sgcheck/pc_common.c 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/exp-sgcheck/pc_common.c 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -268,7 +268,7 @@
/* Do a printf-style operation on either the XML or normal output
channel, depending on the setting of VG_(clo_xml).
*/
-static void emit_WRK ( HChar* format, va_list vargs )
+static void emit_WRK ( const HChar* format, va_list vargs )
{
if (VG_(clo_xml)) {
VG_(vprintf_xml)(format, vargs);
@@ -276,15 +276,15 @@
VG_(vmessage)(Vg_UserMsg, format, vargs);
}
}
-static void emit ( HChar* format, ... ) PRINTF_CHECK(1, 2);
-static void emit ( HChar* format, ... )
+static void emit ( const HChar* format, ... ) PRINTF_CHECK(1, 2);
+static void emit ( const HChar* format, ... )
{
va_list vargs;
va_start(vargs, format);
emit_WRK(format, vargs);
va_end(vargs);
}
-static void emiN ( HChar* format, ... ) /* With NO FORMAT CHECK */
+static void emiN ( const HChar* format, ... ) /* With NO FORMAT CHECK */
{
va_list vargs;
va_start(vargs, format);
@@ -293,7 +293,7 @@
}
-static HChar* readwrite(SSizeT sszB)
+static const HChar* readwrite(SSizeT sszB)
{
return ( sszB < 0 ? "write" : "read" );
}
@@ -348,7 +348,7 @@
//----------------------------------------------------------
case XE_Heap: {
- HChar *place, *legit, *how_invalid;
+ const HChar *place, *legit, *how_invalid;
Addr a = xe->XE.Heap.addr;
Seg* vseg = xe->XE.Heap.vseg;
@@ -468,7 +468,7 @@
case XE_Arith: {
Seg* seg1 = xe->XE.Arith.seg1;
Seg* seg2 = xe->XE.Arith.seg2;
- HChar* which;
+ const HChar* which;
tl_assert(BOTTOM != seg1);
tl_assert(BOTTOM != seg2 && UNKNOWN != seg2);
@@ -545,7 +545,7 @@
Seg* seglo = xe->XE.SysParam.seglo;
Seg* seghi = xe->XE.SysParam.seghi;
const HChar* s = VG_(get_error_string) (err);
- HChar* what;
+ const HChar* what;
tl_assert(BOTTOM != seglo && BOTTOM != seghi);
@@ -778,7 +778,7 @@
}
Bool pc_get_extra_suppression_info ( Error* err,
- /*OUT*/Char* buf, Int nBuf )
+ /*OUT*/HChar* buf, Int nBuf )
{
ErrorKind ekind = VG_(get_error_kind )(err);
tl_assert(buf);
Modified: trunk/callgrind/dump.c (+56 -56)
===================================================================
--- trunk/callgrind/dump.c 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/callgrind/dump.c 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -41,7 +41,7 @@
static Bool dumps_initialized = False;
/* Command */
-static Char cmdbuf[BUF_LEN];
+static HChar cmdbuf[BUF_LEN];
/* Total reads/writes/misses sum over all dumps and threads.
* Updated during CC traversal at dump time.
@@ -55,7 +55,7 @@
* print_fn_pos, fprint_apos, fprint_fcost, fprint_jcc,
* fprint_fcc_ln, dump_run_info, dump_state_info
*/
-static Char outbuf[FILENAME_LEN + FN_NAME_LEN + OBJ_NAME_LEN + COSTS_LEN];
+static HChar outbuf[FILENAME_LEN + FN_NAME_LEN + OBJ_NAME_LEN + COSTS_LEN];
Int CLG_(get_dump_counter)(void)
{
@@ -145,15 +145,15 @@
#if 0
static __inline__
-static void my_fwrite(Int fd, Char* buf, Int len)
+static void my_fwrite(Int fd, HChar* buf, Int len)
{
- VG_(write)(fd, (void*)buf, len);
+ VG_(write)(fd, buf, len);
}
#else
#define FWRITE_BUFSIZE 32000
#define FWRITE_THROUGH 10000
-static Char fwrite_buf[FWRITE_BUFSIZE];
+static HChar fwrite_buf[FWRITE_BUFSIZE];
static Int fwrite_pos;
static Int fwrite_fd = -1;
@@ -161,11 +161,11 @@
void fwrite_flush(void)
{
if ((fwrite_fd>=0) && (fwrite_pos>0))
- VG_(write)(fwrite_fd, (void*)fwrite_buf, fwrite_pos);
+ VG_(write)(fwrite_fd, fwrite_buf, fwrite_pos);
fwrite_pos = 0;
}
-static void my_fwrite(Int fd, Char* buf, Int len)
+static void my_fwrite(Int fd, HChar* buf, Int len)
{
if (fwrite_fd != fd) {
fwrite_flush();
@@ -173,7 +173,7 @@
}
if (len > FWRITE_THROUGH) {
fwrite_flush();
- VG_(write)(fd, (void*)buf, len);
+ VG_(write)(fd, buf, len);
return;
}
if (FWRITE_BUFSIZE - fwrite_pos <= len) fwrite_flush();
@@ -183,7 +183,7 @@
#endif
-static void print_obj(Char* buf, obj_node* obj)
+static void print_obj(HChar* buf, obj_node* obj)
{
//int n;
@@ -212,7 +212,7 @@
#endif
}
-static void print_file(Char* buf, file_node* file)
+static void print_file(HChar* buf, file_node* file)
{
if (CLG_(clo).compress_strings) {
CLG_ASSERT(file_dumped != 0);
@@ -231,7 +231,7 @@
/*
* tag can be "fn", "cfn", "jfn"
*/
-static void print_fn(Int fd, Char* buf, const HChar* tag, fn_node* fn)
+static void print_fn(Int fd, HChar* buf, const HChar* tag, fn_node* fn)
{
int p;
p = VG_(sprintf)(buf, "%s=",tag);
@@ -251,7 +251,7 @@
my_fwrite(fd, buf, p);
}
-static void print_mangled_fn(Int fd, Char* buf, const HChar* tag,
+static void print_mangled_fn(Int fd, HChar* buf, const HChar* tag,
Context* cxt, int rec_index)
{
int p, i;
@@ -346,7 +346,7 @@
if (!CLG_(clo).mangle_names) {
if (last->rec_index != bbcc->rec_index) {
VG_(sprintf)(outbuf, "rec=%d\n\n", bbcc->rec_index);
- my_fwrite(fd, (void*)outbuf, VG_(strlen)(outbuf));
+ my_fwrite(fd, outbuf, VG_(strlen)(outbuf));
last->rec_index = bbcc->rec_index;
last->cxt = 0; /* reprint context */
res = True;
@@ -361,7 +361,7 @@
if (last_from != 0) {
/* switch back to no context */
VG_(sprintf)(outbuf, "frfn=(spontaneous)\n");
- my_fwrite(fd, (void*)outbuf, VG_(strlen)(outbuf));
+ my_fwrite(fd, outbuf, VG_(strlen)(outbuf));
res = True;
}
}
@@ -376,7 +376,7 @@
if (last->obj != bbcc->cxt->fn[0]->file->obj) {
VG_(sprintf)(outbuf, "ob=");
print_obj(outbuf+3, bbcc->cxt->fn[0]->file->obj);
- my_fwrite(fd, (void*)outbuf, VG_(strlen)(outbuf));
+ my_fwrite(fd, outbuf, VG_(strlen)(outbuf));
last->obj = bbcc->cxt->fn[0]->file->obj;
res = True;
}
@@ -384,7 +384,7 @@
if (last->file != bbcc->cxt->fn[0]->file) {
VG_(sprintf)(outbuf, "fl=");
print_file(outbuf+3, bbcc->cxt->fn[0]->file);
- my_fwrite(fd, (void*)outbuf, VG_(strlen)(outbuf));
+ my_fwrite(fd, outbuf, VG_(strlen)(outbuf));
last->file = bbcc->cxt->fn[0]->file;
res = True;
}
@@ -534,13 +534,13 @@
else
VG_(sprintf)(outbuf, "fi=");
print_file(outbuf+3, curr->file);
- my_fwrite(fd, (void*)outbuf, VG_(strlen)(outbuf));
+ my_fwrite(fd, outbuf, VG_(strlen)(outbuf));
}
if (CLG_(clo).dump_bbs) {
if (curr->line != last->line) {
VG_(sprintf)(outbuf, "ln=%d\n", curr->line);
- my_fwrite(fd, (void*)outbuf, VG_(strlen)(outbuf));
+ my_fwrite(fd, outbuf, VG_(strlen)(outbuf));
}
}
}
@@ -606,7 +606,7 @@
VG_(sprintf)(outbuf+p, "%u ", curr->line);
}
}
- my_fwrite(fd, (void*)outbuf, VG_(strlen)(outbuf));
+ my_fwrite(fd, outbuf, VG_(strlen)(outbuf));
}
@@ -619,7 +619,7 @@
{
int p = CLG_(sprint_mappingcost)(outbuf, es, cost);
VG_(sprintf)(outbuf+p, "\n");
- my_fwrite(fd, (void*)outbuf, VG_(strlen)(outbuf));
+ my_fwrite(fd, outbuf, VG_(strlen)(outbuf));
return;
}
@@ -692,7 +692,7 @@
if (last->file != target.file) {
VG_(sprintf)(outbuf, "jfi=");
print_file(outbuf+4, target.file);
- my_fwrite(fd, (void*)outbuf, VG_(strlen)(outbuf));
+ my_fwrite(fd, outbuf, VG_(strlen)(outbuf));
}
if (jcc->from->cxt != jcc->to->cxt) {
@@ -713,7 +713,7 @@
VG_(sprintf)(outbuf, "jump=%llu ",
jcc->call_counter);
}
- my_fwrite(fd, (void*)outbuf, VG_(strlen)(outbuf));
+ my_fwrite(fd, outbuf, VG_(strlen)(outbuf));
fprint_pos(fd, &target, last);
my_fwrite(fd, "\n", 1);
@@ -731,14 +731,14 @@
if (jcc->from->cxt->fn[0]->file->obj != obj) {
VG_(sprintf)(outbuf, "cob=");
print_obj(outbuf+4, obj);
- my_fwrite(fd, (void*)outbuf, VG_(strlen)(outbuf));
+ my_fwrite(fd, outbuf, VG_(strlen)(outbuf));
}
/* file of called position different to current file? */
if (last->file != file) {
VG_(sprintf)(outbuf, "cfi=");
print_file(outbuf+4, file);
- my_fwrite(fd, (void*)outbuf, VG_(strlen)(outbuf));
+ my_fwrite(fd, outbuf, VG_(strlen)(outbuf));
}
if (CLG_(clo).mangle_names)
@@ -749,7 +749,7 @@
if (!CLG_(is_zero_cost)( CLG_(sets).full, jcc->cost)) {
VG_(sprintf)(outbuf, "calls=%llu ",
jcc->call_counter);
- my_fwrite(fd, (void*)outbuf, VG_(strlen)(outbuf));
+ my_fwrite(fd, outbuf, VG_(strlen)(outbuf));
fprint_pos(fd, &target, last);
my_fwrite(fd, "\n", 1);
@@ -893,7 +893,7 @@
currCost->cost, bbcc->skipped );
#if 0
VG_(sprintf)(outbuf, "# Skipped\n");
- my_fwrite(fd, (void*)outbuf, VG_(strlen)(outbuf));
+ my_fwrite(fd, outbuf, VG_(strlen)(outbuf));
#endif
fprint_fcost(fd, currCost, last);
}
@@ -915,7 +915,7 @@
fprint_apos(fd, &(currCost->p), last, bbcc->cxt->fn[0]->file);
fprint_fcost(fd, currCost, last);
}
- if (CLG_(clo).dump_bbs) my_fwrite(fd, (void*)"\n", 1);
+ if (CLG_(clo).dump_bbs) my_fwrite(fd, "\n", 1);
/* when every cost was immediatly written, we must have done so,
* as this function is only called when there's cost in a BBCC
@@ -1259,11 +1259,11 @@
p = VG_(sprintf)(outbuf, "%s", prefix);
p += CLG_(sprint_mappingcost)(outbuf + p, em, cost);
VG_(sprintf)(outbuf + p, "\n");
- my_fwrite(fd, (void*)outbuf, VG_(strlen)(outbuf));
+ my_fwrite(fd, outbuf, VG_(strlen)(outbuf));
}
static ULong bbs_done = 0;
-static Char* filename = 0;
+static HChar* filename = 0;
static
void file_err(void)
@@ -1283,7 +1283,7 @@
*
* Returns the file descriptor, and -1 on error (no write permission)
*/
-static int new_dumpfile(Char buf[BUF_LEN], int tid, const HChar* trigger)
+static int new_dumpfile(HChar buf[BUF_LEN], int tid, const HChar* trigger)
{
Bool appending = False;
int i, fd;
@@ -1331,27 +1331,27 @@
if (!appending) {
/* version */
VG_(sprintf)(buf, "version: 1\n");
- my_fwrite(fd, (void*)buf, VG_(strlen)(buf));
+ my_fwrite(fd, buf, VG_(strlen)(buf));
/* creator */
VG_(sprintf)(buf, "creator: callgrind-" VERSION "\n");
- my_fwrite(fd, (void*)buf, VG_(strlen)(buf));
+ my_fwrite(fd, buf, VG_(strlen)(buf));
/* "pid:" line */
VG_(sprintf)(buf, "pid: %d\n", VG_(getpid)());
- my_fwrite(fd, (void*)buf, VG_(strlen)(buf));
+ my_fwrite(fd, buf, VG_(strlen)(buf));
/* "cmd:" line */
VG_(strcpy)(buf, "cmd: ");
- my_fwrite(fd, (void*)buf, VG_(strlen)(buf));
- my_fwrite(fd, (void*)cmdbuf, VG_(strlen)(cmdbuf));
+ my_fwrite(fd, buf, VG_(strlen)(buf));
+ my_fwrite(fd, cmdbuf, VG_(strlen)(cmdbuf));
}
VG_(sprintf)(buf, "\npart: %d\n", out_counter);
- my_fwrite(fd, (void*)buf, VG_(strlen)(buf));
+ my_fwrite(fd, buf, VG_(strlen)(buf));
if (CLG_(clo).separate_threads) {
VG_(sprintf)(buf, "thread: %d\n", tid);
- my_fwrite(fd, (void*)buf, VG_(strlen)(buf));
+ my_fwrite(fd, buf, VG_(strlen)(buf));
}
/* "desc:" lines */
@@ -1362,36 +1362,36 @@
/* Global options changing the tracing behaviour */
VG_(sprintf)(buf, "\ndesc: Option: --skip-plt=%s\n",
CLG_(clo).skip_plt ? "yes" : "no");
- my_fwrite(fd, (void*)buf, VG_(strlen)(buf));
+ my_fwrite(fd, buf, VG_(strlen)(buf));
VG_(sprintf)(buf, "desc: Option: --collect-jumps=%s\n",
CLG_(clo).collect_jumps ? "yes" : "no");
- my_fwrite(fd, (void*)buf, VG_(strlen)(buf));
+ my_fwrite(fd, buf, VG_(strlen)(buf));
VG_(sprintf)(buf, "desc: Option: --separate-recs=%d\n",
CLG_(clo).separate_recursions);
- my_fwrite(fd, (void*)buf, VG_(strlen)(buf));
+ my_fwrite(fd, buf, VG_(strlen)(buf));
VG_(sprintf)(buf, "desc: Option: --separate-callers=%d\n",
CLG_(clo).separate_callers);
- my_fwrite(fd, (void*)buf, VG_(strlen)(buf));
+ my_fwrite(fd, buf, VG_(strlen)(buf));
VG_(sprintf)(buf, "desc: Option: --dump-bbs=%s\n",
CLG_(clo).dump_bbs ? "yes" : "no");
- my_fwrite(fd, (void*)buf, VG_(strlen)(buf));
+ my_fwrite(fd, buf, VG_(strlen)(buf));
VG_(sprintf)(buf, "desc: Option: --separate-threads=%s\n",
CLG_(clo).separate_threads ? "yes" : "no");
- my_fwrite(fd, (void*)buf, VG_(strlen)(buf));
+ my_fwrite(fd, buf, VG_(strlen)(buf));
#endif
(*CLG_(cachesim).getdesc)(buf);
- my_fwrite(fd, (void*)buf, VG_(strlen)(buf));
+ my_fwrite(fd, buf, VG_(strlen)(buf));
}
VG_(sprintf)(buf, "\ndesc: Timerange: Basic block %llu - %llu\n",
bbs_done, CLG_(stat).bb_executions);
- my_fwrite(fd, (void*)buf, VG_(strlen)(buf));
+ my_fwrite(fd, buf, VG_(strlen)(buf));
VG_(sprintf)(buf, "desc: Trigger: %s\n",
trigger ? trigger : "Program termination");
- my_fwrite(fd, (void*)buf, VG_(strlen)(buf));
+ my_fwrite(fd, buf, VG_(strlen)(buf));
#if 0
/* Output function specific config
@@ -1401,27 +1401,27 @@
while (fnc) {
if (fnc->skip) {
VG_(sprintf)(buf, "desc: Option: --fn-skip=%s\n", fnc->name);
- my_fwrite(fd, (void*)buf, VG_(strlen)(buf));
+ my_fwrite(fd, buf, VG_(strlen)(buf));
}
if (fnc->dump_at_enter) {
VG_(sprintf)(buf, "desc: Option: --fn-dump-at-enter=%s\n",
fnc->name);
- my_fwrite(fd, (void*)buf, VG_(strlen)(buf));
+ my_fwrite(fd, buf, VG_(strlen)(buf));
}
if (fnc->dump_at_leave) {
VG_(sprintf)(buf, "desc: Option: --fn-dump-at-leave=%s\n",
fnc->name);
- my_fwrite(fd, (void*)buf, VG_(strlen)(buf));
+ my_fwrite(fd, buf, VG_(strlen)(buf));
}
if (fnc->separate_callers != CLG_(clo).separate_callers) {
VG_(sprintf)(buf, "desc: Option: --separate-callers%d=%s\n",
fnc->separate_callers, fnc->name);
- my_fwrite(fd, (void*)buf, VG_(strlen)(buf));
+ my_fwrite(fd, buf, VG_(strlen)(buf));
}
if (fnc->separate_recursions != CLG_(clo).separate_recursions) {
VG_(sprintf)(buf, "desc: Option: --separate-recs%d=%s\n",
fnc->separate_recursions, fnc->name);
- my_fwrite(fd, (void*)buf, VG_(strlen)(buf));
+ my_fwrite(fd, buf, VG_(strlen)(buf));
}
fnc = fnc->next;
}
@@ -1433,12 +1433,12 @@
CLG_(clo).dump_instr ? " instr" : "",
CLG_(clo).dump_bb ? " bb" : "",
CLG_(clo).dump_line ? " line" : "");
- my_fwrite(fd, (void*)buf, VG_(strlen)(buf));
+ my_fwrite(fd, buf, VG_(strlen)(buf));
/* "events:" line */
i = VG_(sprintf)(buf, "events: ");
CLG_(sprint_eventmapping)(buf+i, CLG_(dumpmap));
- my_fwrite(fd, (void*)buf, VG_(strlen)(buf));
+ my_fwrite(fd, buf, VG_(strlen)(buf));
my_fwrite(fd, "\n", 1);
/* summary lines */
@@ -1504,7 +1504,7 @@
static Int print_fd;
static const HChar* print_trigger;
-static Char print_buf[BUF_LEN];
+static HChar print_buf[BUF_LEN];
static void print_bbccs_of_thread(thread_info* ti)
{
@@ -1541,7 +1541,7 @@
/* switch back to file of function */
VG_(sprintf)(print_buf, "fe=");
print_file(print_buf+3, lastFnPos.cxt->fn[0]->file);
- my_fwrite(print_fd, (void*)print_buf, VG_(strlen)(print_buf));
+ my_fwrite(print_fd, print_buf, VG_(strlen)(print_buf));
}
my_fwrite(print_fd, "\n", 1);
}
@@ -1571,7 +1571,7 @@
VG_(sprintf)(print_buf+pos, "%d %llu\n",
(*p)->bb->instr_count,
ecounter);
- my_fwrite(print_fd, (void*)print_buf, VG_(strlen)(print_buf));
+ my_fwrite(print_fd, print_buf, VG_(strlen)(print_buf));
}
fprint_bbcc(print_fd, *p, &lastAPos);
Modified: trunk/coregrind/m_tooliface.c (+1 -1)
===================================================================
--- trunk/coregrind/m_tooliface.c 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/coregrind/m_tooliface.c 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -234,7 +234,7 @@
Bool (*read_extra) (Int, Char**, SizeT*, Supp*),
Bool (*matches) (Error*, Supp*),
const HChar* (*name) (Error*),
- Bool (*get_xtra_si)(Error*,/*OUT*/Char*,Int)
+ Bool (*get_xtra_si)(Error*,/*OUT*/HChar*,Int)
)
{
VG_(needs).tool_errors = True;
Modified: trunk/include/pub_tool_tooliface.h (+1 -1)
===================================================================
--- trunk/include/pub_tool_tooliface.h 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/include/pub_tool_tooliface.h 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -343,7 +343,7 @@
// do nothing, and return False. This function is the inverse of
// VG_(tdict).tool_read_extra_suppression_info().
Bool (*print_extra_suppression_info)(Error* err,
- /*OUT*/Char* buf, Int nBuf)
+ /*OUT*/HChar* buf, Int nBuf)
);
/* Is information kept by the tool about specific instructions or
Modified: trunk/drd/tests/unit_vc.c (+1 -1)
===================================================================
--- trunk/drd/tests/unit_vc.c 2012-10-27 18:46:44 +01:00 (rev 13087)
+++ trunk/drd/tests/unit_vc.c 2012-10-27 19:39:11 +01:00 (rev 13088)
@@ -40,7 +40,7 @@
{ return memcmp(s1, s2, n); }
UInt VG_(printf)(const HChar *format, ...)
{ UInt ret; va_list vargs; va_start(vargs, format); ret = vprintf(format, vargs); va_end(vargs); return ret; }
-UInt VG_...
[truncated message content] |
|
From: <sv...@va...> - 2012-10-27 17:46:50
|
florian 2012-10-27 18:46:44 +0100 (Sat, 27 Oct 2012)
New Revision: 13087
Log:
Update list of ignore files. This time with the correct name.
Modified directories:
trunk/gdbserver_tests/
Modified: trunk/gdbserver_tests/
Property changed: trunk/gdbserver_tests (+0 -0)
___________________________________________________________________
Name: svn:ignore
- *.diff
*.out
.deps
clean_after_fork
detailed
fork_chain
gdb
gdb.eval
gdb.pic
gdb.step
main_pic
Makefile
Makefile.in
passsigalrm
progB.done
sleepers
t
vgdb
vgdb.ptraceinvoker
watchpoints
goto
+ *.diff
*.out
.deps
clean_after_fork
detailed
fork_chain
gdb
gdb.eval
gdb.pic
gdb.step
main_pic
Makefile
Makefile.in
passsigalrm
progB.done
sleepers
t
vgdb
vgdb.ptraceinvoker
watchpoints
gone
|
|
From: <sv...@va...> - 2012-10-27 16:34:40
|
florian 2012-10-27 17:34:31 +0100 (Sat, 27 Oct 2012)
New Revision: 13086
Log:
Update list of ignored files.
Modified directories:
trunk/gdbserver_tests/
Modified: trunk/gdbserver_tests/
Property changed: trunk/gdbserver_tests (+0 -0)
___________________________________________________________________
Name: svn:ignore
- *.diff
*.out
.deps
clean_after_fork
detailed
fork_chain
gdb
gdb.eval
gdb.pic
gdb.step
main_pic
Makefile
Makefile.in
passsigalrm
progB.done
sleepers
t
vgdb
vgdb.ptraceinvoker
watchpoints
+ *.diff
*.out
.deps
clean_after_fork
detailed
fork_chain
gdb
gdb.eval
gdb.pic
gdb.step
main_pic
Makefile
Makefile.in
passsigalrm
progB.done
sleepers
t
vgdb
vgdb.ptraceinvoker
watchpoints
goto
|
|
From: <sv...@va...> - 2012-10-27 16:19:40
|
florian 2012-10-27 17:19:31 +0100 (Sat, 27 Oct 2012)
New Revision: 2557
Log:
Add machinery to support DFP rounding modes.
Part of fixing BZ 307113.
Patch by Maran <ma...@li...>
Modified files:
trunk/priv/guest_s390_toIR.c
trunk/priv/host_s390_defs.c
trunk/priv/host_s390_defs.h
trunk/priv/host_s390_isel.c
Modified: trunk/priv/host_s390_isel.c (+121 -0)
===================================================================
--- trunk/priv/host_s390_isel.c 2012-10-26 09:00:59 +01:00 (rev 2556)
+++ trunk/priv/host_s390_isel.c 2012-10-27 17:19:31 +01:00 (rev 2557)
@@ -114,6 +114,7 @@
UInt hwcaps;
IRExpr *previous_bfp_rounding_mode;
+ IRExpr *previous_dfp_rounding_mode;
ULong old_value[NUM_TRACKED_REGS];
@@ -607,6 +608,125 @@
}
+/*---------------------------------------------------------*/
+/*--- DFP helper functions ---*/
+/*---------------------------------------------------------*/
+
+/* Set the DFP rounding mode in the FPC. This function is called for
+ all non-conversion DFP instructions as those will always get the
+ rounding mode from the FPC. */
+#if 0 // fixs390: avoid compiler warnings about unused function
+static void
+set_dfp_rounding_mode_in_fpc(ISelEnv *env, IRExpr *irrm)
+{
+ vassert(typeOfIRExpr(env->type_env, irrm) == Ity_I32);
+
+ /* Do we need to do anything? */
+ if (env->previous_dfp_rounding_mode &&
+ env->previous_dfp_rounding_mode->tag == Iex_RdTmp &&
+ irrm->tag == Iex_RdTmp &&
+ env->previous_dfp_rounding_mode->Iex.RdTmp.tmp == irrm->Iex.RdTmp.tmp) {
+ /* No - new mode is identical to previous mode. */
+ return;
+ }
+
+ /* No luck - we better set it, and remember what we set it to. */
+ env->previous_dfp_rounding_mode = irrm;
+
+ /* The incoming rounding mode is in VEX IR encoding. Need to change
+ to s390.
+
+ rounding mode | S390 | IR
+ -----------------------------------------------
+ to nearest, ties to even | 000 | 000
+ to zero | 001 | 011
+ to +infinity | 010 | 010
+ to -infinity | 011 | 001
+ to nearest, ties away from 0 | 100 | 100
+ to nearest, ties toward 0 | 101 | 111
+ to away from 0 | 110 | 110
+ to prepare for shorter precision | 111 | 101
+
+ So: s390 = (IR ^ ((IR << 1) & 2))
+ */
+ HReg ir = s390_isel_int_expr(env, irrm);
+
+ HReg mode = newVRegI(env);
+
+ addInstr(env, s390_insn_move(4, mode, ir));
+ addInstr(env, s390_insn_alu(4, S390_ALU_LSH, mode, s390_opnd_imm(1)));
+ addInstr(env, s390_insn_alu(4, S390_ALU_AND, mode, s390_opnd_imm(2)));
+ addInstr(env, s390_insn_alu(4, S390_ALU_XOR, mode, s390_opnd_reg(ir)));
+
+ addInstr(env, s390_insn_set_fpc_dfprm(4, mode));
+}
+
+
+/* This function is invoked for insns that support a specification of
+ a rounding mode in the insn itself. In that case there is no need to
+ stick the rounding mode into the FPC -- a good thing. However, the
+ rounding mode must be known.
+ The IR to s390 encoding is chosen in the range 0:7 except
+ S390_DFP_ROUND_NEAREST_TIE_TOWARD_0 and
+ S390_DFP_ROUND_AWAY_0 which have no choice within the range.
+ Since the s390 dfp rounding mode encoding in 8:15 is not used, the
+ quantum excpetion is not suppressed and this is fine as valgrind does
+ not model this exception.
+
+ Translation table of
+ s390 DFP rounding mode to IRRoundingMode to s390 DFP rounding mode
+
+ s390(S390_DFP_ROUND_) | IR(Irrm_DFP_) | s390(S390_DFP_ROUND_)
+ --------------------------------------------------------------------
+ NEAREST_TIE_AWAY_0_1 | NEAREST_TIE_AWAY_0 | NEAREST_TIE_AWAY_0_1
+ NEAREST_TIE_AWAY_0_12 | " | "
+ PREPARE_SHORT_3 | PREPARE_SHORTER | PREPARE_SHORT_3
+ PREPARE_SHORT_15 | " | "
+ NEAREST_EVEN_4 | NEAREST | NEAREST_EVEN_4
+ NEAREST_EVEN_8 | " | "
+ ZERO_5 | ZERO | ZERO_5
+ ZERO_9 | " | "
+ POSINF_6 | PosINF | POSINF_6
+ POSINF_10 | " | "
+ NEGINF_7 | NegINF | NEGINF_7
+ NEGINF_11 | " | "
+ NEAREST_TIE_TOWARD_0 | NEAREST_TIE_TOWARD_0| NEAREST_TIE_TOWARD_0
+ AWAY_0 | AWAY_FROM_ZERO | AWAY_0
+*/
+static s390_dfp_round_t
+get_dfp_rounding_mode(ISelEnv *env, IRExpr *irrm)
+{
+ if (irrm->tag == Iex_Const) { /* rounding mode is known */
+ vassert(irrm->Iex.Const.con->tag == Ico_U32);
+ IRRoundingMode mode = irrm->Iex.Const.con->Ico.U32;
+
+ switch (mode) {
+ case Irrm_DFP_NEAREST:
+ return S390_DFP_ROUND_NEAREST_EVEN_4;
+ case Irrm_DFP_NegINF:
+ return S390_DFP_ROUND_NEGINF_7;
+ case Irrm_DFP_PosINF:
+ return S390_DFP_ROUND_POSINF_6;
+ case Irrm_DFP_ZERO:
+ return S390_DFP_ROUND_ZERO_5;
+ case Irrm_DFP_NEAREST_TIE_AWAY_0:
+ return S390_DFP_ROUND_NEAREST_TIE_AWAY_0_1;
+ case Irrm_DFP_PREPARE_SHORTER:
+ return S390_DFP_ROUND_PREPARE_SHORT_3;
+ case Irrm_DFP_AWAY_FROM_ZERO:
+ return S390_DFP_ROUND_AWAY_0;
+ case Irrm_DFP_NEAREST_TIE_TOWARD_0:
+ return S390_DFP_ROUND_NEAREST_TIE_TOWARD_0;
+ default:
+ vpanic("get_dfp_rounding_mode");
+ }
+ }
+
+ set_dfp_rounding_mode_in_fpc(env, irrm);
+ return S390_DFP_ROUND_PER_FPC_0;
+}
+#endif
+
/* CC_S390 holds the condition code in s390 encoding. Convert it to
VEX encoding
@@ -2872,6 +2992,7 @@
env->vregmapHI = LibVEX_Alloc(env->n_vregmap * sizeof(HReg));
env->previous_bfp_rounding_mode = NULL;
+ env->previous_dfp_rounding_mode = NULL;
/* and finally ... */
env->hwcaps = hwcaps_host;
Modified: trunk/priv/host_s390_defs.h (+42 -2)
===================================================================
--- trunk/priv/host_s390_defs.h 2012-10-26 09:00:59 +01:00 (rev 2556)
+++ trunk/priv/host_s390_defs.h 2012-10-27 17:19:31 +01:00 (rev 2557)
@@ -141,6 +141,7 @@
S390_INSN_GZERO, /* Assign zero to a guest register */
S390_INSN_GADD, /* Add a value to a guest register */
S390_INSN_SET_FPC_BFPRM, /* Set the bfp rounding mode in the FPC */
+ S390_INSN_SET_FPC_DFPRM, /* Set the dfp rounding mode in the FPC */
/* The following 5 insns are mandated by translation chaining */
S390_INSN_XDIRECT, /* direct transfer to guest address */
S390_INSN_XINDIR, /* indirect transfer to guest address */
@@ -254,7 +255,7 @@
} s390_cc_t;
-/* Rounding mode as it is encoded in the m3 field of certain
+/* BFP Rounding mode as it is encoded in the m3 field of certain
instructions (e.g. CFEBR) */
typedef enum {
S390_BFP_ROUND_PER_FPC = 0,
@@ -268,7 +269,7 @@
} s390_bfp_round_t;
-/* Rounding mode as it is encoded in bits [29:31] of the FPC register.
+/* BFP Rounding mode as it is encoded in bits [29:31] of the FPC register.
Only rounding modes 0..3 are universally supported. Others require
additional hardware facilities. */
typedef enum {
@@ -281,6 +282,41 @@
} s390_fpc_bfp_round_t;
+/* DFP Rounding mode as it is encoded in the m3 field of certain
+ instructions (e.g. CGDTR) */
+typedef enum {
+ S390_DFP_ROUND_PER_FPC_0 = 0,
+ S390_DFP_ROUND_NEAREST_TIE_AWAY_0_1 = 1,
+ S390_DFP_ROUND_PER_FPC_2 = 2,
+ S390_DFP_ROUND_PREPARE_SHORT_3 = 3,
+ S390_DFP_ROUND_NEAREST_EVEN_4 = 4,
+ S390_DFP_ROUND_ZERO_5 = 5,
+ S390_DFP_ROUND_POSINF_6 = 6,
+ S390_DFP_ROUND_NEGINF_7 = 7,
+ S390_DFP_ROUND_NEAREST_EVEN_8 = 8,
+ S390_DFP_ROUND_ZERO_9 = 9,
+ S390_DFP_ROUND_POSINF_10 = 10,
+ S390_DFP_ROUND_NEGINF_11 = 11,
+ S390_DFP_ROUND_NEAREST_TIE_AWAY_0_12 = 12,
+ S390_DFP_ROUND_NEAREST_TIE_TOWARD_0 = 13,
+ S390_DFP_ROUND_AWAY_0 = 14,
+ S390_DFP_ROUND_PREPARE_SHORT_15 = 15
+} s390_dfp_round_t;
+
+
+/* DFP Rounding mode as it is encoded in bits [25:27] of the FPC register. */
+typedef enum {
+ S390_FPC_DFP_ROUND_NEAREST_EVEN = 0,
+ S390_FPC_DFP_ROUND_ZERO = 1,
+ S390_FPC_DFP_ROUND_POSINF = 2,
+ S390_FPC_DFP_ROUND_NEGINF = 3,
+ S390_FPC_DFP_ROUND_NEAREST_AWAY_0 = 4,
+ S390_FPC_DFP_ROUND_NEAREST_TOWARD_0 = 5,
+ S390_FPC_DFP_ROUND_AWAY_ZERO = 6,
+ S390_FPC_DFP_ROUND_PREPARE_SHORT = 7
+} s390_fpc_dfp_round_t;
+
+
/* Invert the condition code */
static __inline__ s390_cc_t
s390_cc_invert(s390_cc_t cond)
@@ -464,6 +500,9 @@
struct {
HReg mode;
} set_fpc_bfprm;
+ struct {
+ HReg mode;
+ } set_fpc_dfprm;
/* The next 5 entries are generic to support translation chaining */
@@ -557,6 +596,7 @@
s390_insn *s390_insn_gzero(UChar size, UInt offset);
s390_insn *s390_insn_gadd(UChar size, UInt offset, UChar delta, ULong value);
s390_insn *s390_insn_set_fpc_bfprm(UChar size, HReg mode);
+s390_insn *s390_insn_set_fpc_dfprm(UChar size, HReg mode);
/* Five for translation chaining */
s390_insn *s390_insn_xdirect(s390_cc_t cond, Addr64 dst, s390_amode *guest_IA,
Modified: trunk/priv/host_s390_defs.c (+52 -0)
===================================================================
--- trunk/priv/host_s390_defs.c 2012-10-26 09:00:59 +01:00 (rev 2556)
+++ trunk/priv/host_s390_defs.c 2012-10-27 17:19:31 +01:00 (rev 2557)
@@ -712,6 +712,10 @@
addHRegUse(u, HRmRead, insn->variant.set_fpc_bfprm.mode);
break;
+ case S390_INSN_SET_FPC_DFPRM:
+ addHRegUse(u, HRmRead, insn->variant.set_fpc_dfprm.mode);
+ break;
+
case S390_INSN_EVCHECK:
s390_amode_get_reg_usage(u, insn->variant.evcheck.counter);
s390_amode_get_reg_usage(u, insn->variant.evcheck.fail_addr);
@@ -941,6 +945,11 @@
lookupHRegRemap(m, insn->variant.set_fpc_bfprm.mode);
break;
+ case S390_INSN_SET_FPC_DFPRM:
+ insn->variant.set_fpc_dfprm.mode =
+ lookupHRegRemap(m, insn->variant.set_fpc_dfprm.mode);
+ break;
+
case S390_INSN_EVCHECK:
s390_amode_map_regs(m, insn->variant.evcheck.counter);
s390_amode_map_regs(m, insn->variant.evcheck.fail_addr);
@@ -4947,6 +4956,21 @@
s390_insn *
+s390_insn_set_fpc_dfprm(UChar size, HReg mode)
+{
+ vassert(size == 4);
+
+ s390_insn *insn = LibVEX_Alloc(sizeof(s390_insn));
+
+ insn->tag = S390_INSN_SET_FPC_DFPRM;
+ insn->size = size;
+ insn->variant.set_fpc_dfprm.mode = mode;
+
+ return insn;
+}
+
+
+s390_insn *
s390_insn_xdirect(s390_cc_t cond, Addr64 dst, s390_amode *guest_IA,
Bool to_fast_entry)
{
@@ -5456,6 +5480,11 @@
insn->variant.set_fpc_bfprm.mode);
break;
+ case S390_INSN_SET_FPC_DFPRM:
+ s390_sprintf(buf, "%M %R", "v-set-fpc-dfprm",
+ insn->variant.set_fpc_dfprm.mode);
+ break;
+
case S390_INSN_EVCHECK:
s390_sprintf(buf, "%M counter = %A, fail-addr = %A", "v-evcheck",
insn->variant.evcheck.counter,
@@ -7535,6 +7564,25 @@
}
+static UChar *
+s390_insn_set_fpc_dfprm_emit(UChar *buf, const s390_insn *insn)
+{
+ UInt mode = hregNumber(insn->variant.set_fpc_dfprm.mode);
+
+ /* Copy FPC from guest state to R0 and OR in the new rounding mode */
+ buf = s390_emit_L(buf, R0, 0, S390_REGNO_GUEST_STATE_POINTER,
+ S390X_GUEST_OFFSET(guest_fpc)); // r0 = guest_fpc
+
+ /* DFP rounding mode is set at bit position 25:27 in FPC register */
+ buf = s390_emit_NILL(buf, R0, 0xFF8F); /* Clear out 25:27 bits */
+ buf = s390_emit_SLL(buf, mode, 0, 4); /* bring mode to 25:27 bits */
+ buf = s390_emit_OR(buf, R0, mode); /* OR in the new rounding mode */
+ buf = s390_emit_SFPC(buf, R0); /* Load FPC register from R0 */
+
+ return buf;
+}
+
+
/* Define convenience functions needed for translation chaining.
Any changes need to be applied to the functions in concert. */
@@ -8079,6 +8127,10 @@
end = s390_insn_set_fpc_bfprm_emit(buf, insn);
break;
+ case S390_INSN_SET_FPC_DFPRM:
+ end = s390_insn_set_fpc_dfprm_emit(buf, insn);
+ break;
+
case S390_INSN_PROFINC:
end = s390_insn_profinc_emit(buf, insn);
/* Tell the caller .. */
Modified: trunk/priv/guest_s390_toIR.c (+78 -0)
===================================================================
--- trunk/priv/guest_s390_toIR.c 2012-10-26 09:00:59 +01:00 (rev 2556)
+++ trunk/priv/guest_s390_toIR.c 2012-10-27 17:19:31 +01:00 (rev 2557)
@@ -1465,6 +1465,84 @@
return mktemp(Ity_I32, rm);
}
+/* Extract the DFP rounding mode from the guest FPC reg and encode it as an
+ IRRoundingMode:
+
+ rounding mode | s390 | IR
+ ------------------------------------------------
+ to nearest, ties to even | 000 | 000
+ to zero | 001 | 011
+ to +infinity | 010 | 010
+ to -infinity | 011 | 001
+ to nearest, ties away from 0 | 100 | 100
+ to nearest, ties toward 0 | 101 | 111
+ to away from 0 | 110 | 110
+ to prepare for shorter precision | 111 | 101
+
+ So: IR = (s390 ^ ((s390 << 1) & 2))
+*/
+#if 0 // fixs390: avoid compiler warnings about unused function
+static IRExpr *
+get_dfp_rounding_mode_from_fpc(void)
+{
+ IRTemp fpc_bits = newTemp(Ity_I32);
+
+ /* The dfp rounding mode is stored in bits [25:27].
+ extract the bits at 25:27 and right shift 4 times. */
+ assign(fpc_bits, binop(Iop_Shr32,
+ binop(Iop_And32, get_fpc_w0(), mkU32(0x70)),
+ mkU8(4)));
+
+ IRExpr *rm_s390 = mkexpr(fpc_bits);
+ // rm_IR = (rm_s390 ^ ((rm_s390 << 1) & 2));
+
+ return binop(Iop_Xor32, rm_s390,
+ binop( Iop_And32,
+ binop(Iop_Shl32, rm_s390, mkU8(1)),
+ mkU32(2)));
+}
+
+/* Encode the s390 rounding mode as it appears in the m3 field of certain
+ instructions to VEX's IRRoundingMode. */
+static IRTemp
+encode_dfp_rounding_mode(UChar mode)
+{
+ IRExpr *rm;
+
+ switch (mode) {
+ case S390_DFP_ROUND_PER_FPC_0:
+ case S390_DFP_ROUND_PER_FPC_2:
+ rm = get_dfp_rounding_mode_from_fpc(); break;
+ case S390_DFP_ROUND_NEAREST_EVEN_4:
+ case S390_DFP_ROUND_NEAREST_EVEN_8:
+ rm = mkU32(Irrm_DFP_NEAREST); break;
+ case S390_DFP_ROUND_NEAREST_TIE_AWAY_0_1:
+ case S390_DFP_ROUND_NEAREST_TIE_AWAY_0_12:
+ rm = mkU32(Irrm_DFP_NEAREST_TIE_AWAY_0); break;
+ case S390_DFP_ROUND_PREPARE_SHORT_3:
+ case S390_DFP_ROUND_PREPARE_SHORT_15:
+ rm = mkU32(Irrm_DFP_PREPARE_SHORTER); break;
+ case S390_DFP_ROUND_ZERO_5:
+ case S390_DFP_ROUND_ZERO_9:
+ rm = mkU32(Irrm_DFP_ZERO ); break;
+ case S390_DFP_ROUND_POSINF_6:
+ case S390_DFP_ROUND_POSINF_10:
+ rm = mkU32(Irrm_DFP_PosINF); break;
+ case S390_DFP_ROUND_NEGINF_7:
+ case S390_DFP_ROUND_NEGINF_11:
+ rm = mkU32(Irrm_DFP_NegINF); break;
+ case S390_DFP_ROUND_NEAREST_TIE_TOWARD_0:
+ rm = mkU32(Irrm_DFP_NEAREST_TIE_TOWARD_0); break;
+ case S390_DFP_ROUND_AWAY_0:
+ rm = mkU32(Irrm_DFP_AWAY_FROM_ZERO); break;
+ default:
+ vpanic("encode_dfp_rounding_mode");
+ }
+
+ return mktemp(Ity_I32, rm);
+}
+#endif
+
/*------------------------------------------------------------*/
/*--- Build IR for formats ---*/
/*------------------------------------------------------------*/
|
|
From: <sv...@va...> - 2012-10-27 14:25:41
|
florian 2012-10-27 15:25:28 +0100 (Sat, 27 Oct 2012)
New Revision: 13085
Log:
Fix fpconv.c to unbreak the build on z10ec.
Add rounding-6.c to test rounding modes for convert-to-fixed per m3
field. (The previous fpconv gave the impression of testing this but
in fact did not).
Add rounding.h to establish symbolic names for the various rounding
modes.
Added files:
trunk/none/tests/s390x/rounding-6.c
trunk/none/tests/s390x/rounding-6.stderr.exp
trunk/none/tests/s390x/rounding-6.stdout.exp
trunk/none/tests/s390x/rounding-6.vgtest
trunk/none/tests/s390x/rounding.h
Modified directories:
trunk/none/tests/s390x/
Modified files:
trunk/none/tests/s390x/Makefile.am
trunk/none/tests/s390x/fpconv.c
trunk/none/tests/s390x/fpconv.stdout.exp
trunk/none/tests/s390x/rounding-3.c
Modified: trunk/none/tests/s390x/
Added: trunk/none/tests/s390x/rounding-6.vgtest (+1 -0)
===================================================================
--- trunk/none/tests/s390x/rounding-6.vgtest 2012-10-26 17:16:43 +01:00 (rev 13084)
+++ trunk/none/tests/s390x/rounding-6.vgtest 2012-10-27 15:25:28 +01:00 (rev 13085)
@@ -0,0 +1 @@
+prog: rounding-6
Added: trunk/none/tests/s390x/rounding-6.stdout.exp (+144 -0)
===================================================================
--- trunk/none/tests/s390x/rounding-6.stdout.exp 2012-10-26 17:16:43 +01:00 (rev 13084)
+++ trunk/none/tests/s390x/rounding-6.stdout.exp 2012-10-27 15:25:28 +01:00 (rev 13085)
@@ -0,0 +1,144 @@
+cfebr 1.400000 -> 1 cc = 2 [-> nearest even]
+cfebr 1.400000 -> 1 cc = 2 [-> 0]
+cfebr 1.400000 -> 2 cc = 2 [-> +inf]
+cfebr 1.400000 -> 1 cc = 2 [-> -inf]
+cfebr 1.500000 -> 2 cc = 2 [-> nearest even]
+cfebr 1.500000 -> 1 cc = 2 [-> 0]
+cfebr 1.500000 -> 2 cc = 2 [-> +inf]
+cfebr 1.500000 -> 1 cc = 2 [-> -inf]
+cfebr 2.500000 -> 2 cc = 2 [-> nearest even]
+cfebr 2.500000 -> 2 cc = 2 [-> 0]
+cfebr 2.500000 -> 3 cc = 2 [-> +inf]
+cfebr 2.500000 -> 2 cc = 2 [-> -inf]
+cfebr 1.600000 -> 2 cc = 2 [-> nearest even]
+cfebr 1.600000 -> 1 cc = 2 [-> 0]
+cfebr 1.600000 -> 2 cc = 2 [-> +inf]
+cfebr 1.600000 -> 1 cc = 2 [-> -inf]
+cfebr -1.400000 -> -1 cc = 1 [-> nearest even]
+cfebr -1.400000 -> -1 cc = 1 [-> 0]
+cfebr -1.400000 -> -1 cc = 1 [-> +inf]
+cfebr -1.400000 -> -2 cc = 1 [-> -inf]
+cfebr -1.500000 -> -2 cc = 1 [-> nearest even]
+cfebr -1.500000 -> -1 cc = 1 [-> 0]
+cfebr -1.500000 -> -1 cc = 1 [-> +inf]
+cfebr -1.500000 -> -2 cc = 1 [-> -inf]
+cfebr -2.500000 -> -2 cc = 1 [-> nearest even]
+cfebr -2.500000 -> -2 cc = 1 [-> 0]
+cfebr -2.500000 -> -2 cc = 1 [-> +inf]
+cfebr -2.500000 -> -3 cc = 1 [-> -inf]
+cfebr -1.600000 -> -2 cc = 1 [-> nearest even]
+cfebr -1.600000 -> -1 cc = 1 [-> 0]
+cfebr -1.600000 -> -1 cc = 1 [-> +inf]
+cfebr -1.600000 -> -2 cc = 1 [-> -inf]
+cfebr 0.000000 -> 0 cc = 0 [-> nearest even]
+cfebr 0.000000 -> 0 cc = 0 [-> 0]
+cfebr 0.000000 -> 0 cc = 0 [-> +inf]
+cfebr 0.000000 -> 0 cc = 0 [-> -inf]
+cgebr 1.400000 -> 1 cc = 2 [-> nearest even]
+cgebr 1.400000 -> 1 cc = 2 [-> 0]
+cgebr 1.400000 -> 2 cc = 2 [-> +inf]
+cgebr 1.400000 -> 1 cc = 2 [-> -inf]
+cgebr 1.500000 -> 2 cc = 2 [-> nearest even]
+cgebr 1.500000 -> 1 cc = 2 [-> 0]
+cgebr 1.500000 -> 2 cc = 2 [-> +inf]
+cgebr 1.500000 -> 1 cc = 2 [-> -inf]
+cgebr 2.500000 -> 2 cc = 2 [-> nearest even]
+cgebr 2.500000 -> 2 cc = 2 [-> 0]
+cgebr 2.500000 -> 3 cc = 2 [-> +inf]
+cgebr 2.500000 -> 2 cc = 2 [-> -inf]
+cgebr 1.600000 -> 2 cc = 2 [-> nearest even]
+cgebr 1.600000 -> 1 cc = 2 [-> 0]
+cgebr 1.600000 -> 2 cc = 2 [-> +inf]
+cgebr 1.600000 -> 1 cc = 2 [-> -inf]
+cgebr -1.400000 -> -1 cc = 1 [-> nearest even]
+cgebr -1.400000 -> -1 cc = 1 [-> 0]
+cgebr -1.400000 -> -1 cc = 1 [-> +inf]
+cgebr -1.400000 -> -2 cc = 1 [-> -inf]
+cgebr -1.500000 -> -2 cc = 1 [-> nearest even]
+cgebr -1.500000 -> -1 cc = 1 [-> 0]
+cgebr -1.500000 -> -1 cc = 1 [-> +inf]
+cgebr -1.500000 -> -2 cc = 1 [-> -inf]
+cgebr -2.500000 -> -2 cc = 1 [-> nearest even]
+cgebr -2.500000 -> -2 cc = 1 [-> 0]
+cgebr -2.500000 -> -2 cc = 1 [-> +inf]
+cgebr -2.500000 -> -3 cc = 1 [-> -inf]
+cgebr -1.600000 -> -2 cc = 1 [-> nearest even]
+cgebr -1.600000 -> -1 cc = 1 [-> 0]
+cgebr -1.600000 -> -1 cc = 1 [-> +inf]
+cgebr -1.600000 -> -2 cc = 1 [-> -inf]
+cgebr 0.000000 -> 0 cc = 0 [-> nearest even]
+cgebr 0.000000 -> 0 cc = 0 [-> 0]
+cgebr 0.000000 -> 0 cc = 0 [-> +inf]
+cgebr 0.000000 -> 0 cc = 0 [-> -inf]
+cfdbr 1.400000 -> 1 cc = 2 [-> nearest even]
+cfdbr 1.400000 -> 1 cc = 2 [-> 0]
+cfdbr 1.400000 -> 2 cc = 2 [-> +inf]
+cfdbr 1.400000 -> 1 cc = 2 [-> -inf]
+cfdbr 1.500000 -> 2 cc = 2 [-> nearest even]
+cfdbr 1.500000 -> 1 cc = 2 [-> 0]
+cfdbr 1.500000 -> 2 cc = 2 [-> +inf]
+cfdbr 1.500000 -> 1 cc = 2 [-> -inf]
+cfdbr 2.500000 -> 2 cc = 2 [-> nearest even]
+cfdbr 2.500000 -> 2 cc = 2 [-> 0]
+cfdbr 2.500000 -> 3 cc = 2 [-> +inf]
+cfdbr 2.500000 -> 2 cc = 2 [-> -inf]
+cfdbr 1.600000 -> 2 cc = 2 [-> nearest even]
+cfdbr 1.600000 -> 1 cc = 2 [-> 0]
+cfdbr 1.600000 -> 2 cc = 2 [-> +inf]
+cfdbr 1.600000 -> 1 cc = 2 [-> -inf]
+cfdbr -1.400000 -> -1 cc = 1 [-> nearest even]
+cfdbr -1.400000 -> -1 cc = 1 [-> 0]
+cfdbr -1.400000 -> -1 cc = 1 [-> +inf]
+cfdbr -1.400000 -> -2 cc = 1 [-> -inf]
+cfdbr -1.500000 -> -2 cc = 1 [-> nearest even]
+cfdbr -1.500000 -> -1 cc = 1 [-> 0]
+cfdbr -1.500000 -> -1 cc = 1 [-> +inf]
+cfdbr -1.500000 -> -2 cc = 1 [-> -inf]
+cfdbr -2.500000 -> -2 cc = 1 [-> nearest even]
+cfdbr -2.500000 -> -2 cc = 1 [-> 0]
+cfdbr -2.500000 -> -2 cc = 1 [-> +inf]
+cfdbr -2.500000 -> -3 cc = 1 [-> -inf]
+cfdbr -1.600000 -> -2 cc = 1 [-> nearest even]
+cfdbr -1.600000 -> -1 cc = 1 [-> 0]
+cfdbr -1.600000 -> -1 cc = 1 [-> +inf]
+cfdbr -1.600000 -> -2 cc = 1 [-> -inf]
+cfdbr 0.000000 -> 0 cc = 0 [-> nearest even]
+cfdbr 0.000000 -> 0 cc = 0 [-> 0]
+cfdbr 0.000000 -> 0 cc = 0 [-> +inf]
+cfdbr 0.000000 -> 0 cc = 0 [-> -inf]
+cgdbr 1.400000 -> 1 cc = 2 [-> nearest even]
+cgdbr 1.400000 -> 1 cc = 2 [-> 0]
+cgdbr 1.400000 -> 2 cc = 2 [-> +inf]
+cgdbr 1.400000 -> 1 cc = 2 [-> -inf]
+cgdbr 1.500000 -> 2 cc = 2 [-> nearest even]
+cgdbr 1.500000 -> 1 cc = 2 [-> 0]
+cgdbr 1.500000 -> 2 cc = 2 [-> +inf]
+cgdbr 1.500000 -> 1 cc = 2 [-> -inf]
+cgdbr 2.500000 -> 2 cc = 2 [-> nearest even]
+cgdbr 2.500000 -> 2 cc = 2 [-> 0]
+cgdbr 2.500000 -> 3 cc = 2 [-> +inf]
+cgdbr 2.500000 -> 2 cc = 2 [-> -inf]
+cgdbr 1.600000 -> 2 cc = 2 [-> nearest even]
+cgdbr 1.600000 -> 1 cc = 2 [-> 0]
+cgdbr 1.600000 -> 2 cc = 2 [-> +inf]
+cgdbr 1.600000 -> 1 cc = 2 [-> -inf]
+cgdbr -1.400000 -> -1 cc = 1 [-> nearest even]
+cgdbr -1.400000 -> -1 cc = 1 [-> 0]
+cgdbr -1.400000 -> -1 cc = 1 [-> +inf]
+cgdbr -1.400000 -> -2 cc = 1 [-> -inf]
+cgdbr -1.500000 -> -2 cc = 1 [-> nearest even]
+cgdbr -1.500000 -> -1 cc = 1 [-> 0]
+cgdbr -1.500000 -> -1 cc = 1 [-> +inf]
+cgdbr -1.500000 -> -2 cc = 1 [-> -inf]
+cgdbr -2.500000 -> -2 cc = 1 [-> nearest even]
+cgdbr -2.500000 -> -2 cc = 1 [-> 0]
+cgdbr -2.500000 -> -2 cc = 1 [-> +inf]
+cgdbr -2.500000 -> -3 cc = 1 [-> -inf]
+cgdbr -1.600000 -> -2 cc = 1 [-> nearest even]
+cgdbr -1.600000 -> -1 cc = 1 [-> 0]
+cgdbr -1.600000 -> -1 cc = 1 [-> +inf]
+cgdbr -1.600000 -> -2 cc = 1 [-> -inf]
+cgdbr 0.000000 -> 0 cc = 0 [-> nearest even]
+cgdbr 0.000000 -> 0 cc = 0 [-> 0]
+cgdbr 0.000000 -> 0 cc = 0 [-> +inf]
+cgdbr 0.000000 -> 0 cc = 0 [-> -inf]
Added: trunk/none/tests/s390x/rounding.h (+44 -0)
===================================================================
--- trunk/none/tests/s390x/rounding.h 2012-10-26 17:16:43 +01:00 (rev 13084)
+++ trunk/none/tests/s390x/rounding.h 2012-10-27 15:25:28 +01:00 (rev 13085)
@@ -0,0 +1,44 @@
+#ifndef ROUNDING_H
+#define ROUNDING_h
+
+/* Macros, so the values can be used together with opcodes.h */
+
+/* ---------------------------------------------------------------- */
+/* BFP rounding mode as it is encoded in the m3 field of certain */
+/* instructions (e.g. CFEBR) */
+/* ---------------------------------------------------------------- */
+#define M3_BFP_ROUND_PER_FPC 0
+
+// Cannot be mapped to IRRoundingMode
+#define M3_BFP_ROUND_NEAREST_AWAY 1
+
+// 2 is not allowed
+
+// Needs floating point extension facility
+// Cannot be mapped to IRRoundingMode
+#define M3_BFP_ROUND_PREPARE_SHORT 3
+
+#define M3_BFP_ROUND_NEAREST_EVEN 4
+#define M3_BFP_ROUND_ZERO 5
+#define M3_BFP_ROUND_POSINF 6
+#define M3_BFP_ROUND_NEGINF 7
+
+
+/* ---------------------------------------------------------------- */
+/* BFP rounding mode as it is encoded in bits [29:31] of the FPC */
+/* register. Only rounding modes 0..3 are universally supported. */
+/* Others require additional hardware facilities. */
+/* ---------------------------------------------------------------- */
+#define FPC_BFP_ROUND_NEAREST_EVEN 0
+#define FPC_BFP_ROUND_ZERO 1
+#define FPC_BFP_ROUND_POSINF 2
+#define FPC_BFP_ROUND_NEGINF 3
+
+// 4,5,6 are not allowed
+
+// Needs floating point extension facility
+// Cannot be mapped to IRRoundingMode
+#define FPC_BFP_ROUND_PREPARE_SHORT 7
+
+
+#endif /* ROUNDING_H */
Property changed: trunk/none/tests/s390x (+0 -0)
___________________________________________________________________
Name: svn:ignore
- .deps
add
add_EI
add_GE
allexec
and
and_EI
clc
clcle
cvb
cvd
div
ex_clone
ex_sig
flogr
icm
insert
insert_EI
lam_stam
lpr
Makefile
Makefile.in
mul
mul_GE
mvst
or
or_EI
srst
sub
sub_EI
tcxb
xc
xor
xor_EI
stck
stcke
stckf
op_exception
fgx
condloadstore
fold_And16
stfle
op00
cksm
clcl
mvcl
troo
trot
trto
trtt
tr
tre
clrj
clgrj
crj
cgrj
clij
clgij
cij
cgij
cs
csg
cds
cdsg
cu21
cu21_1
cu24
cu24_1
cu42
cu12
cu12_1
cu14
cu14_1
cu41
ecag
fpext
fpext_warn
fpconv
rounding-1
rounding-2
rounding-3
rounding-4
rounding-5
bfp-1
bfp-2
bfp-3
bfp-4
srnm
srnmb
comp-1
comp-2
ex
exrl
tm
tmll
stmg
test_sig
test_clone
test_fork
clst
mvc
spechelper-algr
spechelper-tmll
spechelper-icm-1
spechelper-icm-2
spechelper-cr
spechelper-ltr
spechelper-alr
spechelper-clr
spechelper-slr
spechelper-slgr
spechelper-or
spechelper-tm
+ .deps
add
add_EI
add_GE
allexec
and
and_EI
clc
clcle
cvb
cvd
div
ex_clone
ex_sig
flogr
icm
insert
insert_EI
lam_stam
lpr
Makefile
Makefile.in
mul
mul_GE
mvst
or
or_EI
srst
sub
sub_EI
tcxb
xc
xor
xor_EI
stck
stcke
stckf
op_exception
fgx
condloadstore
fold_And16
stfle
op00
cksm
clcl
mvcl
troo
trot
trto
trtt
tr
tre
clrj
clgrj
crj
cgrj
clij
clgij
cij
cgij
cs
csg
cds
cdsg
cu21
cu21_1
cu24
cu24_1
cu42
cu12
cu12_1
cu14
cu14_1
cu41
ecag
fpext
fpext_warn
fpconv
rounding-1
rounding-2
rounding-3
rounding-4
rounding-5
bfp-1
bfp-2
bfp-3
bfp-4
srnm
srnmb
comp-1
comp-2
ex
exrl
tm
tmll
stmg
test_sig
test_clone
test_fork
clst
mvc
spechelper-algr
spechelper-tmll
spechelper-icm-1
spechelper-icm-2
spechelper-cr
spechelper-ltr
spechelper-alr
spechelper-clr
spechelper-slr
spechelper-slgr
spechelper-or
spechelper-tm
rounding-6
Added: trunk/none/tests/s390x/rounding-6.c (+121 -0)
===================================================================
--- trunk/none/tests/s390x/rounding-6.c 2012-10-26 17:16:43 +01:00 (rev 13084)
+++ trunk/none/tests/s390x/rounding-6.c 2012-10-27 15:25:28 +01:00 (rev 13085)
@@ -0,0 +1,121 @@
+#include <assert.h>
+#include <stdlib.h>
+#include <stdio.h>
+#include <stdint.h>
+#include <inttypes.h>
+#include "opcodes.h"
+#include "rounding.h"
+
+/* Test "convert to fixed" with rounding mode given in insn (m3 field)
+ Covers all generally available rounding modes that can be mapped to
+ IRRoundingMode. As a consequence m3=1 which is "round to nearest with
+ ties away from 0" is not tested here.
+*/
+
+const char *
+rtext(unsigned m3_round)
+{
+ switch (m3_round) {
+ case 0: return "[-> per fpc]";
+ case 1: return "[-> nearest away]";
+ case 3: return "[-> prepare short]"; // floating point extension fac needed
+ case 4: return "[-> nearest even]";
+ case 5: return "[-> 0]";
+ case 6: return "[-> +inf]";
+ case 7: return "[-> -inf]";
+ }
+ assert(0);
+}
+
+#define convert_to_int(opcode,src_type,dst_type,dst_fmt,round,value) \
+do { \
+ src_type src = value; \
+ dst_type dst; \
+ unsigned cc; \
+ \
+ __asm__ volatile (opcode " %[dst]," #round ",%[src]\n\t" \
+ "ipm %[cc]\n\t" \
+ "srl %[cc],28\n\t" \
+ : [dst] "=d"(dst), [cc] "=d"(cc) \
+ : [src] "f"(src) \
+ : "cc"); \
+ \
+ printf("%s %f\t-> %"dst_fmt"\tcc = %u %s\n", \
+ opcode, src, dst, cc, rtext(round)); \
+} while (0)
+
+
+#define cfebr(value, round) \
+ convert_to_int("cfebr",float,int32_t,PRId32,round,value)
+#define cfdbr(value, round) \
+ convert_to_int("cfdbr",double,int32_t,PRId32,round,value)
+#define cgebr(value, round) \
+ convert_to_int("cgebr",float,int64_t,PRId64,round,value)
+#define cgdbr(value, round) \
+ convert_to_int("cgdbr",double,int64_t,PRId64,round,value)
+
+void
+set_rounding_mode(unsigned mode)
+{
+ register unsigned r asm("1") = mode;
+ __asm__ volatile ( SFPC(1) : : "d"(r) );
+}
+
+
+int main(void)
+{
+ int j;
+ static const float fval[] = {
+ 1.4f, 1.5f, 2.5f, 1.6f, -1.4f, -1.5f, -2.5f, -1.6f, 0.0f,
+ };
+ static const double dval[] = {
+ 1.4, 1.5, 2.5, 1.6, -1.4, -1.5, -2.5, -1.6, 0.0,
+ };
+
+ /* Note when testing M3_NEAR need to set the FPC rounding mode
+ to something else. FPC rounding mode is NEAR by default.
+ Setting the FPC rounding mode to != NEAR is the only way to make
+ sure the M3 field is not ignored. */
+
+ /* f32 -> i32 */
+ for (j = 0; j < sizeof fval / sizeof fval[0]; ++j) {
+ set_rounding_mode(FPC_BFP_ROUND_ZERO);
+ cfebr(fval[j], M3_BFP_ROUND_NEAREST_EVEN);
+ set_rounding_mode(FPC_BFP_ROUND_NEAREST_EVEN);
+ cfebr(fval[j], M3_BFP_ROUND_ZERO);
+ cfebr(fval[j], M3_BFP_ROUND_POSINF);
+ cfebr(fval[j], M3_BFP_ROUND_NEGINF);
+ }
+
+ /* f32 -> i64 */
+ for (j = 0; j < sizeof fval / sizeof fval[0]; ++j) {
+ set_rounding_mode(FPC_BFP_ROUND_ZERO);
+ cgebr(fval[j], M3_BFP_ROUND_NEAREST_EVEN);
+ set_rounding_mode(FPC_BFP_ROUND_NEAREST_EVEN);
+ cgebr(fval[j], M3_BFP_ROUND_ZERO);
+ cgebr(fval[j], M3_BFP_ROUND_POSINF);
+ cgebr(fval[j], M3_BFP_ROUND_NEGINF);
+ }
+
+ /* f64 -> i32 */
+ for (j = 0; j < sizeof dval / sizeof dval[0]; ++j) {
+ set_rounding_mode(FPC_BFP_ROUND_ZERO);
+ cfdbr(dval[j], M3_BFP_ROUND_NEAREST_EVEN);
+ set_rounding_mode(FPC_BFP_ROUND_NEAREST_EVEN);
+ cfdbr(dval[j], M3_BFP_ROUND_ZERO);
+ cfdbr(dval[j], M3_BFP_ROUND_POSINF);
+ cfdbr(dval[j], M3_BFP_ROUND_NEGINF);
+ }
+
+ /* f64 -> i64 */
+ for (j = 0; j < sizeof dval / sizeof dval[0]; ++j) {
+ set_rounding_mode(FPC_BFP_ROUND_ZERO);
+ cgdbr(dval[j], M3_BFP_ROUND_NEAREST_EVEN);
+ set_rounding_mode(FPC_BFP_ROUND_NEAREST_EVEN);
+ cgdbr(dval[j], M3_BFP_ROUND_ZERO);
+ cgdbr(dval[j], M3_BFP_ROUND_POSINF);
+ cgdbr(dval[j], M3_BFP_ROUND_NEGINF);
+ }
+
+ return 0;
+}
Modified: trunk/none/tests/s390x/rounding-3.c (+0 -3)
===================================================================
--- trunk/none/tests/s390x/rounding-3.c 2012-10-26 17:16:43 +01:00 (rev 13084)
+++ trunk/none/tests/s390x/rounding-3.c 2012-10-27 15:25:28 +01:00 (rev 13085)
@@ -7,9 +7,6 @@
/* Test "convert to fixed" with "per fpc" rounding.
Covers all generally available rounding modes.
-
- Note, that "convert to fixed" with rounding mode specified as
- part of the insn is already tested in fpconv.c
*/
void
Modified: trunk/none/tests/s390x/fpconv.stdout.exp (+94 -672)
===================================================================
--- trunk/none/tests/s390x/fpconv.stdout.exp 2012-10-26 17:16:43 +01:00 (rev 13084)
+++ trunk/none/tests/s390x/fpconv.stdout.exp 2012-10-27 15:25:28 +01:00 (rev 13085)
@@ -1,672 +1,94 @@
-"cefbr" 0.000000
-"cefbr" 1.000000
-"cefbr" -1.000000
-"cefbr" -2147483648.000000
-"cefbr" 2147483648.000000
-"cefbr" 0.000000
-"cefbr" -1.000000
-"cefbr" 0.000000
-"cefbr" -1.000000
-"cegbr" 0.000000
-"cegbr" 1.000000
-"cegbr" 4294967296.000000
-"cegbr" 2147483648.000000
-"cegbr" 2147483648.000000
-"cegbr" 4294967296.000000
-"cegbr" -1.000000
-"cegbr" -9223372036854775808.000000
-"cegbr" 9223372036854775808.000000
-"cdfbr" 0.000000
-"cdfbr" 1.000000
-"cdfbr" -1.000000
-"cdfbr" -2147483648.000000
-"cdfbr" 2147483647.000000
-"cdfbr" 0.000000
-"cdfbr" -1.000000
-"cdfbr" 0.000000
-"cdfbr" -1.000000
-"cdgbr" 0.000000
-"cdgbr" 1.000000
-"cdgbr" 4294967295.000000
-"cdgbr" 2147483648.000000
-"cdgbr" 2147483647.000000
-"cdgbr" 4294967296.000000
-"cdgbr" -1.000000
-"cdgbr" -9223372036854775808.000000
-"cdgbr" 9223372036854775808.000000
-"cxfbr" 0.000000
-"cxfbr" 1.000000
-"cxfbr" -1.000000
-"cxfbr" -2147483648.000000
-"cxfbr" 2147483647.000000
-"cxfbr" 0.000000
-"cxfbr" -1.000000
-"cxfbr" 0.000000
-"cxfbr" -1.000000
-"cxgbr" 0.000000
-"cxgbr" 1.000000
-"cxgbr" 4294967295.000000
-"cxgbr" 2147483648.000000
-"cxgbr" 2147483647.000000
-"cxgbr" 4294967296.000000
-"cxgbr" -1.000000
-"cxgbr" -9223372036854775808.000000
-"cxgbr" 9223372036854775807.000000
-"cfebr" 4294967295 cc=1
-"cfebr" 0 cc=0
-"cfebr" 1 cc=2
-"cfebr" 1 cc=2
-"cfebr" 2 cc=2
-"cfebr" 2 cc=2
-"cfebr" 16000 cc=2
-"cfebr" 160000000 cc=2
-"cfebr" 2147483647 cc=3
-"cfebr" 2147483647 cc=3
-"cfebr" 2147483647 cc=3
-"cfebr" 2147483647 cc=3
-"cfebr" 0 cc=2
-"cfebr" 0 cc=2
-"cfebr" 2147483647 cc=3
-"cfebr" 0 cc=0
-"cfebr" 2147483647 cc=3
-"cfebr" 0 cc=0
-"cfebr" 2147483647 cc=3
-"cgebr" -1 cc=1
-"cgebr" 0 cc=0
-"cgebr" 1 cc=2
-"cgebr" 1 cc=2
-"cgebr" 2 cc=2
-"cgebr" 2 cc=2
-"cgebr" 16000 cc=2
-"cgebr" 160000000 cc=2
-"cgebr" 1599999967232 cc=2
-"cgebr" 9223372036854775807 cc=3
-"cgebr" 9223372036854775807 cc=3
-"cgebr" 9223372036854775807 cc=3
-"cgebr" 0 cc=2
-"cgebr" 0 cc=2
-"cgebr" 9223372036854775807 cc=3
-"cgebr" 0 cc=0
-"cgebr" 9223372036854775807 cc=3
-"cgebr" 0 cc=0
-"cgebr" 9223372036854775807 cc=3
-"cfdbr" 4294967295 cc=1
-"cfdbr" 0 cc=0
-"cfdbr" 1 cc=2
-"cfdbr" 1 cc=2
-"cfdbr" 2 cc=2
-"cfdbr" 2 cc=2
-"cfdbr" 16000 cc=2
-"cfdbr" 160000000 cc=2
-"cfdbr" 2147483647 cc=3
-"cfdbr" 2147483647 cc=3
-"cfdbr" 2147483647 cc=3
-"cfdbr" 2147483647 cc=3
-"cfdbr" 0 cc=2
-"cfdbr" 0 cc=2
-"cfdbr" 2147483647 cc=3
-"cfdbr" 0 cc=2
-"cfdbr" 2147483647 cc=3
-"cfdbr" 0 cc=0
-"cfdbr" 2147483647 cc=3
-"cgdbr" -1 cc=1
-"cgdbr" 0 cc=0
-"cgdbr" 1 cc=2
-"cgdbr" 1 cc=2
-"cgdbr" 2 cc=2
-"cgdbr" 2 cc=2
-"cgdbr" 16000 cc=2
-"cgdbr" 160000000 cc=2
-"cgdbr" 1600000000000 cc=2
-"cgdbr" 9223372036854775807 cc=3
-"cgdbr" 9223372036854775807 cc=3
-"cgdbr" 9223372036854775807 cc=3
-"cgdbr" 0 cc=2
-"cgdbr" 0 cc=2
-"cgdbr" 9223372036854775807 cc=3
-"cgdbr" 0 cc=2
-"cgdbr" 9223372036854775807 cc=3
-"cgdbr" 0 cc=0
-"cgdbr" 9223372036854775807 cc=3
-"cfxbr" 4294967295 cc=1
-"cfxbr" 0 cc=0
-"cfxbr" 1 cc=2
-"cfxbr" 1 cc=2
-"cfxbr" 2 cc=2
-"cfxbr" 2 cc=2
-"cfxbr" 16000 cc=2
-"cfxbr" 160000000 cc=2
-"cfxbr" 2147483647 cc=3
-"cfxbr" 2147483647 cc=3
-"cfxbr" 2147483647 cc=3
-"cfxbr" 2147483647 cc=3
-"cfxbr" 0 cc=2
-"cfxbr" 0 cc=2
-"cfxbr" 2147483647 cc=3
-"cfxbr" 0 cc=2
-"cfxbr" 2147483647 cc=3
-"cfxbr" 0 cc=2
-"cfxbr" 2147483647 cc=3
-"cgxbr" -1 cc=1
-"cgxbr" 0 cc=0
-"cgxbr" 1 cc=2
-"cgxbr" 1 cc=2
-"cgxbr" 2 cc=2
-"cgxbr" 2 cc=2
-"cgxbr" 16000 cc=2
-"cgxbr" 160000000 cc=2
-"cgxbr" 1600000000000 cc=2
-"cgxbr" 9223372036854775807 cc=3
-"cgxbr" 9223372036854775807 cc=3
-"cgxbr" 9223372036854775807 cc=3
-"cgxbr" 0 cc=2
-"cgxbr" 0 cc=2
-"cgxbr" 9223372036854775807 cc=3
-"cgxbr" 0 cc=2
-"cgxbr" 9223372036854775807 cc=3
-"cgxbr" 0 cc=2
-"cgxbr" 9223372036854775807 cc=3
-"cefbr" 0.000000
-"cefbr" 1.000000
-"cefbr" -1.000000
-"cefbr" -2147483648.000000
-"cefbr" 2147483648.000000
-"cefbr" 0.000000
-"cefbr" -1.000000
-"cefbr" 0.000000
-"cefbr" -1.000000
-"cegbr" 0.000000
-"cegbr" 1.000000
-"cegbr" 4294967296.000000
-"cegbr" 2147483648.000000
-"cegbr" 2147483648.000000
-"cegbr" 4294967296.000000
-"cegbr" -1.000000
-"cegbr" -9223372036854775808.000000
-"cegbr" 9223372036854775808.000000
-"cdfbr" 0.000000
-"cdfbr" 1.000000
-"cdfbr" -1.000000
-"cdfbr" -2147483648.000000
-"cdfbr" 2147483647.000000
-"cdfbr" 0.000000
-"cdfbr" -1.000000
-"cdfbr" 0.000000
-"cdfbr" -1.000000
-"cdgbr" 0.000000
-"cdgbr" 1.000000
-"cdgbr" 4294967295.000000
-"cdgbr" 2147483648.000000
-"cdgbr" 2147483647.000000
-"cdgbr" 4294967296.000000
-"cdgbr" -1.000000
-"cdgbr" -9223372036854775808.000000
-"cdgbr" 9223372036854775808.000000
-"cxfbr" 0.000000
-"cxfbr" 1.000000
-"cxfbr" -1.000000
-"cxfbr" -2147483648.000000
-"cxfbr" 2147483647.000000
-"cxfbr" 0.000000
-"cxfbr" -1.000000
-"cxfbr" 0.000000
-"cxfbr" -1.000000
-"cxgbr" 0.000000
-"cxgbr" 1.000000
-"cxgbr" 4294967295.000000
-"cxgbr" 2147483648.000000
-"cxgbr" 2147483647.000000
-"cxgbr" 4294967296.000000
-"cxgbr" -1.000000
-"cxgbr" -9223372036854775808.000000
-"cxgbr" 9223372036854775807.000000
-"cfebr" 4294967295 cc=1
-"cfebr" 0 cc=0
-"cfebr" 1 cc=2
-"cfebr" 1 cc=2
-"cfebr" 1 cc=2
-"cfebr" 1 cc=2
-"cfebr" 16000 cc=2
-"cfebr" 160000000 cc=2
-"cfebr" 2147483647 cc=3
-"cfebr" 2147483647 cc=3
-"cfebr" 2147483647 cc=3
-"cfebr" 2147483647 cc=3
-"cfebr" 0 cc=2
-"cfebr" 0 cc=2
-"cfebr" 2147483647 cc=3
-"cfebr" 0 cc=0
-"cfebr" 2147483647 cc=3
-"cfebr" 0 cc=0
-"cfebr" 2147483647 cc=3
-"cgebr" -1 cc=1
-"cgebr" 0 cc=0
-"cgebr" 1 cc=2
-"cgebr" 1 cc=2
-"cgebr" 1 cc=2
-"cgebr" 1 cc=2
-"cgebr" 16000 cc=2
-"cgebr" 160000000 cc=2
-"cgebr" 1599999967232 cc=2
-"cgebr" 9223372036854775807 cc=3
-"cgebr" 9223372036854775807 cc=3
-"cgebr" 9223372036854775807 cc=3
-"cgebr" 0 cc=2
-"cgebr" 0 cc=2
-"cgebr" 9223372036854775807 cc=3
-"cgebr" 0 cc=0
-"cgebr" 9223372036854775807 cc=3
-"cgebr" 0 cc=0
-"cgebr" 9223372036854775807 cc=3
-"cfdbr" 4294967295 cc=1
-"cfdbr" 0 cc=0
-"cfdbr" 1 cc=2
-"cfdbr" 1 cc=2
-"cfdbr" 1 cc=2
-"cfdbr" 1 cc=2
-"cfdbr" 16000 cc=2
-"cfdbr" 160000000 cc=2
-"cfdbr" 2147483647 cc=3
-"cfdbr" 2147483647 cc=3
-"cfdbr" 2147483647 cc=3
-"cfdbr" 2147483647 cc=3
-"cfdbr" 0 cc=2
-"cfdbr" 0 cc=2
-"cfdbr" 2147483647 cc=3
-"cfdbr" 0 cc=2
-"cfdbr" 2147483647 cc=3
-"cfdbr" 0 cc=0
-"cfdbr" 2147483647 cc=3
-"cgdbr" -1 cc=1
-"cgdbr" 0 cc=0
-"cgdbr" 1 cc=2
-"cgdbr" 1 cc=2
-"cgdbr" 1 cc=2
-"cgdbr" 1 cc=2
-"cgdbr" 16000 cc=2
-"cgdbr" 160000000 cc=2
-"cgdbr" 1600000000000 cc=2
-"cgdbr" 9223372036854775807 cc=3
-"cgdbr" 9223372036854775807 cc=3
-"cgdbr" 9223372036854775807 cc=3
-"cgdbr" 0 cc=2
-"cgdbr" 0 cc=2
-"cgdbr" 9223372036854775807 cc=3
-"cgdbr" 0 cc=2
-"cgdbr" 9223372036854775807 cc=3
-"cgdbr" 0 cc=0
-"cgdbr" 9223372036854775807 cc=3
-"cfxbr" 4294967295 cc=1
-"cfxbr" 0 cc=0
-"cfxbr" 1 cc=2
-"cfxbr" 1 cc=2
-"cfxbr" 1 cc=2
-"cfxbr" 1 cc=2
-"cfxbr" 16000 cc=2
-"cfxbr" 160000000 cc=2
-"cfxbr" 2147483647 cc=3
-"cfxbr" 2147483647 cc=3
-"cfxbr" 2147483647 cc=3
-"cfxbr" 2147483647 cc=3
-"cfxbr" 0 cc=2
-"cfxbr" 0 cc=2
-"cfxbr" 2147483647 cc=3
-"cfxbr" 0 cc=2
-"cfxbr" 2147483647 cc=3
-"cfxbr" 0 cc=2
-"cfxbr" 2147483647 cc=3
-"cgxbr" -1 cc=1
-"cgxbr" 0 cc=0
-"cgxbr" 1 cc=2
-"cgxbr" 1 cc=2
-"cgxbr" 1 cc=2
-"cgxbr" 1 cc=2
-"cgxbr" 16000 cc=2
-"cgxbr" 160000000 cc=2
-"cgxbr" 1600000000000 cc=2
-"cgxbr" 9223372036854775807 cc=3
-"cgxbr" 9223372036854775807 cc=3
-"cgxbr" 9223372036854775807 cc=3
-"cgxbr" 0 cc=2
-"cgxbr" 0 cc=2
-"cgxbr" 9223372036854775807 cc=3
-"cgxbr" 0 cc=2
-"cgxbr" 9223372036854775807 cc=3
-"cgxbr" 0 cc=2
-"cgxbr" 9223372036854775807 cc=3
-"cefbr" 0.000000
-"cefbr" 1.000000
-"cefbr" -1.000000
-"cefbr" -2147483648.000000
-"cefbr" 2147483648.000000
-"cefbr" 0.000000
-"cefbr" -1.000000
-"cefbr" 0.000000
-"cefbr" -1.000000
-"cegbr" 0.000000
-"cegbr" 1.000000
-"cegbr" 4294967296.000000
-"cegbr" 2147483648.000000
-"cegbr" 2147483648.000000
-"cegbr" 4294967296.000000
-"cegbr" -1.000000
-"cegbr" -9223372036854775808.000000
-"cegbr" 9223372036854775808.000000
-"cdfbr" 0.000000
-"cdfbr" 1.000000
-"cdfbr" -1.000000
-"cdfbr" -2147483648.000000
-"cdfbr" 2147483647.000000
-"cdfbr" 0.000000
-"cdfbr" -1.000000
-"cdfbr" 0.000000
-"cdfbr" -1.000000
-"cdgbr" 0.000000
-"cdgbr" 1.000000
-"cdgbr" 4294967295.000000
-"cdgbr" 2147483648.000000
-"cdgbr" 2147483647.000000
-"cdgbr" 4294967296.000000
-"cdgbr" -1.000000
-"cdgbr" -9223372036854775808.000000
-"cdgbr" 9223372036854775808.000000
-"cxfbr" 0.000000
-"cxfbr" 1.000000
-"cxfbr" -1.000000
-"cxfbr" -2147483648.000000
-"cxfbr" 2147483647.000000
-"cxfbr" 0.000000
-"cxfbr" -1.000000
-"cxfbr" 0.000000
-"cxfbr" -1.000000
-"cxgbr" 0.000000
-"cxgbr" 1.000000
-"cxgbr" 4294967295.000000
-"cxgbr" 2147483648.000000
-"cxgbr" 2147483647.000000
-"cxgbr" 4294967296.000000
-"cxgbr" -1.000000
-"cxgbr" -9223372036854775808.000000
-"cxgbr" 9223372036854775807.000000
-"cfebr" 4294967295 cc=1
-"cfebr" 0 cc=0
-"cfebr" 1 cc=2
-"cfebr" 2 cc=2
-"cfebr" 2 cc=2
-"cfebr" 2 cc=2
-"cfebr" 16000 cc=2
-"cfebr" 160000000 cc=2
-"cfebr" 2147483647 cc=3
-"cfebr" 2147483647 cc=3
-"cfebr" 2147483647 cc=3
-"cfebr" 2147483647 cc=3
-"cfebr" 1 cc=2
-"cfebr" 1 cc=2
-"cfebr" 2147483647 cc=3
-"cfebr" 0 cc=0
-"cfebr" 2147483647 cc=3
-"cfebr" 0 cc=0
-"cfebr" 2147483647 cc=3
-"cgebr" -1 cc=1
-"cgebr" 0 cc=0
-"cgebr" 1 cc=2
-"cgebr" 2 cc=2
-"cgebr" 2 cc=2
-"cgebr" 2 cc=2
-"cgebr" 16000 cc=2
-"cgebr" 160000000 cc=2
-"cgebr" 1599999967232 cc=2
-"cgebr" 9223372036854775807 cc=3
-"cgebr" 9223372036854775807 cc=3
-"cgebr" 9223372036854775807 cc=3
-"cgebr" 1 cc=2
-"cgebr" 1 cc=2
-"cgebr" 9223372036854775807 cc=3
-"cgebr" 0 cc=0
-"cgebr" 9223372036854775807 cc=3
-"cgebr" 0 cc=0
-"cgebr" 9223372036854775807 cc=3
-"cfdbr" 4294967295 cc=1
-"cfdbr" 0 cc=0
-"cfdbr" 1 cc=2
-"cfdbr" 2 cc=2
-"cfdbr" 2 cc=2
-"cfdbr" 2 cc=2
-"cfdbr" 16000 cc=2
-"cfdbr" 160000000 cc=2
-"cfdbr" 2147483647 cc=3
-"cfdbr" 2147483647 cc=3
-"cfdbr" 2147483647 cc=3
-"cfdbr" 2147483647 cc=3
-"cfdbr" 1 cc=2
-"cfdbr" 1 cc=2
-"cfdbr" 2147483647 cc=3
-"cfdbr" 1 cc=2
-"cfdbr" 2147483647 cc=3
-"cfdbr" 0 cc=0
-"cfdbr" 2147483647 cc=3
-"cgdbr" -1 cc=1
-"cgdbr" 0 cc=0
-"cgdbr" 1 cc=2
-"cgdbr" 2 cc=2
-"cgdbr" 2 cc=2
-"cgdbr" 2 cc=2
-"cgdbr" 16000 cc=2
-"cgdbr" 160000000 cc=2
-"cgdbr" 1600000000000 cc=2
-"cgdbr" 9223372036854775807 cc=3
-"cgdbr" 9223372036854775807 cc=3
-"cgdbr" 9223372036854775807 cc=3
-"cgdbr" 1 cc=2
-"cgdbr" 1 cc=2
-"cgdbr" 9223372036854775807 cc=3
-"cgdbr" 1 cc=2
-"cgdbr" 9223372036854775807 cc=3
-"cgdbr" 0 cc=0
-"cgdbr" 9223372036854775807 cc=3
-"cfxbr" 4294967295 cc=1
-"cfxbr" 0 cc=0
-"cfxbr" 1 cc=2
-"cfxbr" 2 cc=2
-"cfxbr" 2 cc=2
-"cfxbr" 2 cc=2
-"cfxbr" 16000 cc=2
-"cfxbr" 160000000 cc=2
-"cfxbr" 2147483647 cc=3
-"cfxbr" 2147483647 cc=3
-"cfxbr" 2147483647 cc=3
-"cfxbr" 2147483647 cc=3
-"cfxbr" 1 cc=2
-"cfxbr" 1 cc=2
-"cfxbr" 2147483647 cc=3
-"cfxbr" 1 cc=2
-"cfxbr" 2147483647 cc=3
-"cfxbr" 1 cc=2
-"cfxbr" 2147483647 cc=3
-"cgxbr" -1 cc=1
-"cgxbr" 0 cc=0
-"cgxbr" 1 cc=2
-"cgxbr" 2 cc=2
-"cgxbr" 2 cc=2
-"cgxbr" 2 cc=2
-"cgxbr" 16000 cc=2
-"cgxbr" 160000000 cc=2
-"cgxbr" 1600000000000 cc=2
-"cgxbr" 9223372036854775807 cc=3
-"cgxbr" 9223372036854775807 cc=3
-"cgxbr" 9223372036854775807 cc=3
-"cgxbr" 1 cc=2
-"cgxbr" 1 cc=2
-"cgxbr" 9223372036854775807 cc=3
-"cgxbr" 1 cc=2
-"cgxbr" 9223372036854775807 cc=3
-"cgxbr" 1 cc=2
-"cgxbr" 9223372036854775807 cc=3
-"cefbr" 0.000000
-"cefbr" 1.000000
-"cefbr" -1.000000
-"cefbr" -2147483648.000000
-"cefbr" 2147483648.000000
-"cefbr" 0.000000
-"cefbr" -1.000000
-"cefbr" 0.000000
-"cefbr" -1.000000
-"cegbr" 0.000000
-"cegbr" 1.000000
-"cegbr" 4294967296.000000
-"cegbr" 2147483648.000000
-"cegbr" 2147483648.000000
-"cegbr" 4294967296.000000
-"cegbr" -1.000000
-"cegbr" -9223372036854775808.000000
-"cegbr" 9223372036854775808.000000
-"cdfbr" 0.000000
-"cdfbr" 1.000000
-"cdfbr" -1.000000
-"cdfbr" -2147483648.000000
-"cdfbr" 2147483647.000000
-"cdfbr" 0.000000
-"cdfbr" -1.000000
-"cdfbr" 0.000000
-"cdfbr" -1.000000
-"cdgbr" 0.000000
-"cdgbr" 1.000000
-"cdgbr" 4294967295.000000
-"cdgbr" 2147483648.000000
-"cdgbr" 2147483647.000000
-"cdgbr" 4294967296.000000
-"cdgbr" -1.000000
-"cdgbr" -9223372036854775808.000000
-"cdgbr" 9223372036854775808.000000
-"cxfbr" 0.000000
-"cxfbr" 1.000000
-"cxfbr" -1.000000
-"cxfbr" -2147483648.000000
-"cxfbr" 2147483647.000000
-"cxfbr" 0.000000
-"cxfbr" -1.000000
-"cxfbr" 0.000000
-"cxfbr" -1.000000
-"cxgbr" 0.000000
-"cxgbr" 1.000000
-"cxgbr" 4294967295.000000
-"cxgbr" 2147483648.000000
-"cxgbr" 2147483647.000000
-"cxgbr" 4294967296.000000
-"cxgbr" -1.000000
-"cxgbr" -9223372036854775808.000000
-"cxgbr" 9223372036854775807.000000
-"cfebr" 4294967294 cc=1
-"cfebr" 0 cc=0
-"cfebr" 1 cc=2
-"cfebr" 1 cc=2
-"cfebr" 1 cc=2
-"cfebr" 1 cc=2
-"cfebr" 16000 cc=2
-"cfebr" 160000000 cc=2
-"cfebr" 2147483647 cc=3
-"cfebr" 2147483647 cc=3
-"cfebr" 2147483647 cc=3
-"cfebr" 2147483647 cc=3
-"cfebr" 0 cc=2
-"cfebr" 0 cc=2
-"cfebr" 2147483647 cc=3
-"cfebr" 0 cc=0
-"cfebr" 2147483647 cc=3
-"cfebr" 0 cc=0
-"cfebr" 2147483647 cc=3
-"cgebr" -2 cc=1
-"cgebr" 0 cc=0
-"cgebr" 1 cc=2
-"cgebr" 1 cc=2
-"cgebr" 1 cc=2
-"cgebr" 1 cc=2
-"cgebr" 16000 cc=2
-"cgebr" 160000000 cc=2
-"cgebr" 1599999967232 cc=2
-"cgebr" 9223372036854775807 cc=3
-"cgebr" 9223372036854775807 cc=3
-"cgebr" 9223372036854775807 cc=3
-"cgebr" 0 cc=2
-"cgebr" 0 cc=2
-"cgebr" 9223372036854775807 cc=3
-"cgebr" 0 cc=0
-"cgebr" 9223372036854775807 cc=3
-"cgebr" 0 cc=0
-"cgebr" 9223372036854775807 cc=3
-"cfdbr" 4294967294 cc=1
-"cfdbr" 0 cc=0
-"cfdbr" 1 cc=2
-"cfdbr" 1 cc=2
-"cfdbr" 1 cc=2
-"cfdbr" 1 cc=2
-"cfdbr" 16000 cc=2
-"cfdbr" 160000000 cc=2
-"cfdbr" 2147483647 cc=3
-"cfdbr" 2147483647 cc=3
-"cfdbr" 2147483647 cc=3
-"cfdbr" 2147483647 cc=3
-"cfdbr" 0 cc=2
-"cfdbr" 0 cc=2
-"cfdbr" 2147483647 cc=3
-"cfdbr" 0 cc=2
-"cfdbr" 2147483647 cc=3
-"cfdbr" 0 cc=0
-"cfdbr" 2147483647 cc=3
-"cgdbr" -2 cc=1
-"cgdbr" 0 cc=0
-"cgdbr" 1 cc=2
-"cgdbr" 1 cc=2
-"cgdbr" 1 cc=2
-"cgdbr" 1 cc=2
-"cgdbr" 16000 cc=2
-"cgdbr" 160000000 cc=2
-"cgdbr" 1600000000000 cc=2
-"cgdbr" 9223372036854775807 cc=3
-"cgdbr" 9223372036854775807 cc=3
-"cgdbr" 9223372036854775807 cc=3
-"cgdbr" 0 cc=2
-"cgdbr" 0 cc=2
-"cgdbr" 9223372036854775807 cc=3
-"cgdbr" 0 cc=2
-"cgdbr" 9223372036854775807 cc=3
-"cgdbr" 0 cc=0
-"cgdbr" 9223372036854775807 cc=3
-"cfxbr" 4294967294 cc=1
-"cfxbr" 0 cc=0
-"cfxbr" 1 cc=2
-"cfxbr" 1 cc=2
-"cfxbr" 1 cc=2
-"cfxbr" 1 cc=2
-"cfxbr" 16000 cc=2
-"cfxbr" 160000000 cc=2
-"cfxbr" 2147483647 cc=3
-"cfxbr" 2147483647 cc=3
-"cfxbr" 2147483647 cc=3
-"cfxbr" 2147483647 cc=3
-"cfxbr" 0 cc=2
-"cfxbr" 0 cc=2
-"cfxbr" 2147483647 cc=3
-"cfxbr" 0 cc=2
-"cfxbr" 2147483647 cc=3
-"cfxbr" 0 cc=2
-"cfxbr" 2147483647 cc=3
-"cgxbr" -2 cc=1
-"cgxbr" 0 cc=0
-"cgxbr" 1 cc=2
-"cgxbr" 1 cc=2
-"cgxbr" 1 cc=2
-"cgxbr" 1 cc=2
-"cgxbr" 16000 cc=2
-"cgxbr" 160000000 cc=2
-"cgxbr" 1600000000000 cc=2
-"cgxbr" 9223372036854775807 cc=3
-"cgxbr" 9223372036854775807 cc=3
-"cgxbr" 9223372036854775807 cc=3
-"cgxbr" 0 cc=2
-"cgxbr" 0 cc=2
-"cgxbr" 9223372036854775807 cc=3
-"cgxbr" 0 cc=2
-"cgxbr" 9223372036854775807 cc=3
-"cgxbr" 0 cc=2
-"cgxbr" 9223372036854775807 cc=3
+
+----- int32_t -> float
+cefbr 0 -> 0.000000
+cefbr 1 -> 1.000000
+cefbr -1 -> -1.000000
+cefbr 42 -> 42.000000
+cefbr 32767 -> 32767.000000
+cefbr -32768 -> -32768.000000
+cefbr 2147483647 -> 2147483648.000000
+cefbr -2147483648 -> -2147483648.000000
+
+----- int32_t -> double
+cdfbr 0 -> 0.000000
+cdfbr 1 -> 1.000000
+cdfbr -1 -> -1.000000
+cdfbr 42 -> 42.000000
+cdfbr 32767 -> 32767.000000
+cdfbr -32768 -> -32768.000000
+cdfbr 2147483647 -> 2147483647.000000
+cdfbr -2147483648 -> -2147483648.000000
+
+----- int64_t -> float
+cegbr 0 -> 0.000000
+cegbr 1 -> 1.000000
+cegbr -1 -> -1.000000
+cegbr 42 -> 42.000000
+cegbr 32767 -> 32767.000000
+cegbr -32768 -> -32768.000000
+cegbr 2147483647 -> 2147483648.000000
+cegbr -2147483648 -> -2147483648.000000
+cegbr 9223372036854775807 -> 9223372036854775808.000000
+cegbr -9223372036854775808 -> -9223372036854775808.000000
+
+----- int64_t -> double
+cdgbr 0 -> 0.000000
+cdgbr 1 -> 1.000000
+cdgbr -1 -> -1.000000
+cdgbr 42 -> 42.000000
+cdgbr 32767 -> 32767.000000
+cdgbr -32768 -> -32768.000000
+cdgbr 2147483647 -> 2147483647.000000
+cdgbr -2147483648 -> -2147483648.000000
+cdgbr 9223372036854775807 -> 9223372036854775808.000000
+cdgbr -9223372036854775808 -> -9223372036854775808.000000
+
+----- float -> int32_t
+cfebr -1.000000 -> -1 cc = 1
+cfebr 0.000000 -> 0 cc = 0
+cfebr 1.000000 -> 1 cc = 2
+cfebr 1.400000 -> 1 cc = 2
+cfebr 1.500000 -> 2 cc = 2
+cfebr 1.600000 -> 2 cc = 2
+cfebr 16000.000000 -> 16000 cc = 2
+cfebr 160000000.000000 -> 160000000 cc = 2
+cfebr 0.000160 -> 0 cc = 2
+cfebr 340282346638528859811704183484516925440.000000 -> 2147483647 cc = 3
+
+----- float -> int64_t
+cgebr -1.000000 -> -1 cc = 1
+cgebr 0.000000 -> 0 cc = 0
+cgebr 1.000000 -> 1 cc = 2
+cgebr 1.400000 -> 1 cc = 2
+cgebr 1.500000 -> 2 cc = 2
+cgebr 1.600000 -> 2 cc = 2
+cgebr 16000.000000 -> 16000 cc = 2
+cgebr 160000000.000000 -> 160000000 cc = 2
+cgebr 0.000160 -> 0 cc = 2
+cgebr 340282346638528859811704183484516925440.000000 -> 9223372036854775807 cc = 3
+
+----- double -> int32_t
+cfdbr -1.000000 -> -1 cc = 1
+cfdbr 0.000000 -> 0 cc = 0
+cfdbr 1.000000 -> 1 cc = 2
+cfdbr 1.400000 -> 1 cc = 2
+cfdbr 1.500000 -> 2 cc = 2
+cfdbr 1.600000 -> 2 cc = 2
+cfdbr 16000.000000 -> 16000 cc = 2
+cfdbr 160000000.000000 -> 160000000 cc = 2
+cfdbr 0.000160 -> 0 cc = 2
+cfdbr 340282346638528859811704183484516925440.000000 -> 2147483647 cc = 3
+cfdbr 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000000 -> 2147483647 cc = 3
+
+----- double -> int64_t
+cgdbr -1.000000 -> -1 cc = 1
+cgdbr 0.000000 -> 0 cc = 0
+cgdbr 1.000000 -> 1 cc = 2
+cgdbr 1.400000 -> 1 cc = 2
+cgdbr 1.500000 -> 2 cc = 2
+cgdbr 1.600000 -> 2 cc = 2
+cgdbr 16000.000000 -> 16000 cc = 2
+cgdbr 160000000.000000 -> 160000000 cc = 2
+cgdbr 0.000160 -> 0 cc = 2
+cgdbr 340282346638528859811704183484516925440.000000 -> 9223372036854775807 cc = 3
+cgdbr 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000000 -> 9223372036854775807 cc = 3
Added: trunk/none/tests/s390x/rounding-6.stderr.exp (+2 -0)
===================================================================
--- trunk/none/tests/s390x/rounding-6.stderr.exp 2012-10-26 17:16:43 +01:00 (rev 13084)
+++ trunk/none/tests/s390x/rounding-6.stderr.exp 2012-10-27 15:25:28 +01:00 (rev 13085)
@@ -0,0 +1,2 @@
+
+
Modified: trunk/none/tests/s390x/fpconv.c (+100 -128)
===================================================================
--- trunk/none/tests/s390x/fpconv.c 2012-10-26 17:16:43 +01:00 (rev 13084)
+++ trunk/none/tests/s390x/fpconv.c 2012-10-27 15:25:28 +01:00 (rev 13085)
@@ -1,147 +1,119 @@
-/* basic float <-> signed int conversions available since z900 */
#include <float.h>
#include <stdio.h>
-#include "opcodes.h"
+#include <stdint.h>
+#include <inttypes.h>
+#include <limits.h>
-#define I2F(insn, initial, target,round) \
-({ \
- register unsigned long source asm("2") = initial; \
- register typeof(target) _t asm("f0"); \
- asm volatile(insn " 0,2\n\t" :"=f" (_t):"d"(source)); \
- _t; \
-})
+/* The following opcodes are tested:
-#define F2L(insn, initial, type, round, cc) \
-({ \
- register type source asm("f0") = initial; \
- register unsigned long target asm ("2") = 0; \
- asm volatile(insn " 2," #round ",0\n\t" \
- "ipm %1\n\t" \
- "srl %1,28\n\t" \
- :"=d" (target), "=d" (cc) :"f"(source):"cc"); \
- target; \
-})
+ Convert to fixed: cfebr, cgebr, cfdbr, cgdbr
+ Convert from fixed: cefbr, cdfbr, cegbr, cdgbr
+ We do not test rounding here. Just making sure the insn selector
+ picks the correct insn.
+*/
-#define DO_INSN_I2F32(insn, round) \
-({ \
- float f32; \
- printf(#insn " %f\n", I2F(insn, 0, f32, round)); \
- printf(#insn " %f\n", I2F(insn, 1, f32, round)); \
- printf(#insn " %f\n", I2F(insn, 0xffffffffUL, f32, round)); \
- printf(#insn " %f\n", I2F(insn, 0x80000000UL, f32, round)); \
- printf(#insn " %f\n", I2F(insn, 0x7fffffffUL, f32, round)); \
- printf(#insn " %f\n", I2F(insn, 0x100000000UL, f32, round)); \
- printf(#insn " %f\n", I2F(insn, 0xffffffffffffffffUL, f32, round)); \
- printf(#insn " %f\n", I2F(insn, 0x8000000000000000UL, f32, round)); \
- printf(#insn " %f\n", I2F(insn, 0x7fffffffffffffffUL, f32, round)); \
-})
+#define I2F(insn, initial, target_type) \
+do { \
+ int64_t source = initial; \
+ target_type target; \
+ asm volatile(insn " %0,%1\n\t" :"=f" (target) :"d"(source)); \
+ printf(insn " %"PRId64" -> %f\n", source, target); \
+} while (0)
-#define DO_INSN_I2F64(insn, round) \
-({ \
- double f64; \
- printf(#insn " %f\n", I2F(insn, 0, f64, round)); \
- printf(#insn " %f\n", I2F(insn, 1, f64, round)); \
- printf(#insn " %f\n", I2F(insn, 0xffffffffUL, f64, round)); \
- printf(#insn " %f\n", I2F(insn, 0x80000000UL, f64, round)); \
- printf(#insn " %f\n", I2F(insn, 0x7fffffffUL, f64, round)); \
- printf(#insn " %f\n", I2F(insn, 0x100000000UL, f64, round)); \
- printf(#insn " %f\n", I2F(insn, 0xffffffffffffffffUL, f64, round)); \
- printf(#insn " %f\n", I2F(insn, 0x8000000000000000UL, f64, round)); \
- printf(#insn " %f\n", I2F(insn, 0x7fffffffffffffffUL, f64, round)); \
-})
+#define DO_INSN_I32_TO_F(insn, target_type) \
+do { \
+ printf("\n----- int32_t -> " #target_type "\n");\
+ I2F(insn, 0, target_type); \
+ I2F(insn, 1, target_type); \
+ I2F(insn, -1, target_type); \
+ I2F(insn, 42, target_type); \
+ I2F(insn, SHRT_MAX, target_type); \
+ I2F(insn, SHRT_MIN, target_type); \
+ I2F(insn, INT_MAX, target_type); \
+ I2F(insn, INT_MIN, target_type); \
+} while (0)
-#define DO_INSN_I2F128(insn, round) \
-({ \
- long double f128; \
- printf(#insn " %Lf\n", I2F(insn, 0, f128, round)); \
- printf(#insn " %Lf\n", I2F(insn, 1, f128, round)); \
- printf(#insn " %Lf\n", I2F(insn, 0xffffffffUL, f128, round)); \
- printf(#insn " %Lf\n", I2F(insn, 0x80000000UL, f128, round)); \
- printf(#insn " %Lf\n", I2F(insn, 0x7fffffffUL, f128, round)); \
- printf(#insn " %Lf\n", I2F(insn, 0x100000000UL, f128, round)); \
- printf(#insn " %Lf\n", I2F(insn, 0xffffffffffffffffUL, f128, round)); \
- printf(#insn " %Lf\n", I2F(insn, 0x8000000000000000UL, f128, round)); \
- printf(#insn " %Lf\n", I2F(insn, 0x7fffffffffffffffUL, f128, round)); \
-})
+#define DO_INSN_I64_TO_F(insn, target_type) \
+do { \
+ printf("\n----- int64_t -> " #target_type "\n");\
+ I2F(insn, 0, target_type); \
+ I2F(insn, 1, target_type); \
+ I2F(insn, -1, target_type); \
+ I2F(insn, 42, target_type); \
+ I2F(insn, SHRT_MAX, target_type); \
+ I2F(insn, SHRT_MIN, target_type); \
+ I2F(insn, INT_MAX, target_type); \
+ I2F(insn, INT_MIN, target_type); \
+ I2F(insn, LONG_MAX, target_type); \
+ I2F(insn, LONG_MIN, target_type); \
+} while (0)
-#define DO_INSN_F2L(insn, round, type) \
-({ \
- int cc; \
- printf(#insn " %ld ", F2L(insn, -1.1, type, round, cc)); \
- printf("cc=%d\n", cc); \
- printf(#insn " %ld ", F2L(insn, 0, type, round, cc)); \
- printf("cc=%d\n", cc); \
- printf(#insn " %ld ", F2L(insn, 1, type, round, cc)); \
- printf("cc=%d\n", cc); \
- printf(#insn " %ld ", F2L(insn, 1.4, type, round, cc)); \
- printf("cc=%d\n", cc); \
- printf(#insn " %ld ", F2L(insn, 1.5, type, round, cc)); \
- printf("cc=%d\n", cc); \
- printf(#insn " %ld ", F2L(insn, 1.6, type, round, cc)); \
- printf("cc=%d\n", cc); \
- printf(#insn " %ld ", F2L(insn, 1.6E+4, type, round, cc)); \
- printf("cc=%d\n", cc); \
- printf(#insn " %ld ", F2L(insn, 1.6E+8, type, round, cc)); \
- printf("cc=%d\n", cc); \
- printf(#insn " %ld ", F2L(insn, 1.6E+12, type, round, cc)); \
- printf("cc=%d\n", cc); \
- printf(#insn " %ld ", F2L(insn, 1.6E+20, type, round, cc)); \
- printf("cc=%d\n", cc); \
- printf(#insn " %ld ", F2L(insn, 1.6E+200, type, round, cc)); \
- printf("cc=%d\n", cc); \
- printf(#insn " %ld ", F2L(insn, 1.6E+2000L, type, round, cc)); \
- printf("cc=%d\n", cc); \
- printf(#insn " %ld ", F2L(insn, 1.6E-4, type, round, cc)); \
- printf("cc=%d\n", cc); \
- printf(#insn " %ld ", F2L(insn, FLT_MIN, type, round, cc)); \
- printf("cc=%d\n", cc); \
- printf(#insn " %ld ", F2L(insn, FLT_MAX, type, round, cc)); \
- printf("cc=%d\n", cc); \
- printf(#insn " %ld ", F2L(insn, DBL_MIN, type, round, cc)); \
- printf("cc=%d\n", cc); \
- printf(#insn " %ld ", F2L(insn, DBL_MAX, type, round, cc)); \
- printf("cc=%d\n", cc); \
- printf(#insn " %ld ", F2L(insn, LDBL_MIN, type, round, cc)); \
- printf("cc=%d\n", cc); \
- printf(#insn " %ld ", F2L(insn, LDBL_MAX, type, round, cc)); \
- printf("cc=%d\n", cc); \
-})
+#define DO_I2F() \
+do { \
+ DO_INSN_I32_TO_F("cefbr", float); \
+ DO_INSN_I32_TO_F("cdfbr", double); \
+ DO_INSN_I64_TO_F("cegbr", float); \
+ DO_INSN_I64_TO_F("cdgbr", double); \
+} while (0)
-#define DO_I2F(round) \
-({ \
- DO_INSN_I2F32("cefbr", round); \
- DO_INSN_I2F32("cegbr", round); \
- DO_INSN_I2F64("cdfbr", round); \
- DO_INSN_I2F64("cdgbr", round); \
- DO_INSN_I2F128("cxfbr", round); \
- DO_INSN_I2F128("cxgbr", round); \
-})
-#define DO_F2L(round) \
-({ \
- DO_INSN_F2L("cfebr", round, float); \
- DO_INSN_F2L("cgebr", round, float); \
- DO_INSN_F2L("cfdbr", round, double); \
- DO_INSN_F2L("cgdbr", round, double); \
- DO_INSN_F2L("cfxbr", round, long double); \
- DO_INSN_F2L("cgxbr", round, long double); \
-})
+#define F2I(insn, initial, source_type, target_type) \
+do { \
+ int cc; \
+ source_type source = initial; \
+ target_type target = 0; \
+ asm volatile(insn " %0,0,%2\n\t" \
+ "ipm %1\n\t" \
+ "srl %1,28\n\t" \
+ : "=d" (target), "=d" (cc) : "f"(source) : "cc"); \
+ printf(insn " %f -> %ld cc = %d\n", source, (long)target, cc); \
+} while (0)
+#define DO_INSN_F32_TO_I(insn, type) \
+do { \
+ printf("\n----- float -> " #type "\n"); \
+ F2I(insn, -1.0f, float, type); \
+ F2I(insn, 0.0f, float, type); \
+ F2I(insn, 1.0f, float, type); \
+ F2I(insn, 1.4f, float, type); \
+ F2I(insn, 1.5f, float, type); \
+ F2I(insn, 1.6f, float, type); \
+ F2I(insn, 1.6E+4f, float, type); \
+ F2I(insn, 1.6E+8f, float, type); \
+ F2I(insn, 1.6E-4f, float, type); \
+ F2I(insn, FLT_MAX, float, type); \
+} while (0)
-int main()
-{
- DO_I2F(4);
- DO_F2L(4);
+#define DO_INSN_F64_TO_I(insn, type) \
+do { \
+ printf("\n----- double -> " #type "\n"); \
+ F2I(insn, -1.0, double, type); \
+ F2I(insn, 0.0, double, type); \
+ F2I(insn, 1.0, double, type); \
+ F2I(insn, 1.4, double, type); \
+ F2I(insn, 1.5, double, type); \
+ F2I(insn, 1.6, double, type); \
+ F2I(insn, 1.6E+4, double, type); \
+ F2I(insn, 1.6E+8, double, type); \
+ F2I(insn, 1.6E-4, double, type); \
+ F2I(insn, FLT_MAX, double, type); \
+ F2I(insn, DBL_MAX, double, type); \
+} while (0)
- DO_I2F(5);
- DO_F2L(5);
+#define DO_F2I() \
+do { \
+ DO_INSN_F32_TO_I("cfebr", int32_t); \
+ DO_INSN_F32_TO_I("cgebr", int64_t); \
+ DO_INSN_F64_TO_I("cfdbr", int32_t); \
+ DO_INSN_F64_TO_I("cgdbr", int64_t); \
+} while (0)
- DO_I2F(6);
- DO_F2L(6);
- DO_I2F(7);
- DO_F2L(7);
+int main()
+{
+ DO_I2F();
+ DO_F2I();
return 0;
}
Modified: trunk/none/tests/s390x/Makefile.am (+2 -2)
===================================================================
--- trunk/none/tests/s390x/Makefile.am 2012-10-26 17:16:43 +01:00 (rev 13084)
+++ trunk/none/tests/s390x/Makefile.am 2012-10-27 15:25:28 +01:00 (rev 13085)
@@ -11,7 +11,7 @@
ex_sig ex_clone cu14 cu14_1 cu41 fpconv ecag fpext fpext_warn \
rounding-1 rounding-2 rounding-3 rounding-4 rounding-5 bfp-1 \
bfp-2 bfp-3 bfp-4 srnm srnmb comp-1 comp-2 exrl tmll tm stmg \
- ex clst mvc test_clone test_fork test_sig \
+ ex clst mvc test_clone test_fork test_sig rounding-6 \
spechelper-alr spechelper-algr \
spechelper-slr spechelper-slgr \
spechelper-cr spechelper-clr \
@@ -31,7 +31,7 @@
op00.stderr.exp1 op00.stderr.exp2 op00.vgtest \
fpext_fail.vgtest fpext_fail.stderr.exp fpext_fail.stdout.exp \
test.h opcodes.h add.h and.h div.h insert.h \
- mul.h or.h sub.h xor.h table.h svc.h
+ mul.h or.h sub.h xor.h table.h svc.h rounding.h
AM_CFLAGS += @FLAG_M64@
AM_CXXFLAGS += @FLAG_M64@
|
|
From: Rich C. <rc...@wi...> - 2012-10-27 05:20:23
|
valgrind revision: 13084
VEX revision: 2556
C compiler: i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
Assembler:
C library: unknown
uname -mrs: Darwin 10.8.0 i386
Vendor version: unknown
Nightly build on macx86 ( Darwin 10.8.0 i386 )
Started at 2012-10-26 23:35:00 CDT
Ended at 2012-10-27 00:19:58 CDT
Results differ from 24 hours ago
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 501 tests, 147 stderr failures, 4 stdout failures, 3 stderrB failures, 3 stdoutB failures, 1 post failure ==
gdbserver_tests/mchelp (stdoutB)
gdbserver_tests/mchelp (stderrB)
gdbserver_tests/mcinvokeRU (stdoutB)
gdbserver_tests/mcinvokeRU (stderrB)
gdbserver_tests/mcinvokeWS (stdoutB)
gdbserver_tests/mcinvokeWS (stderrB)
memcheck/tests/accounting (stderr)
memcheck/tests/badpoll (stderr)
memcheck/tests/big_blocks_freed_list (stderr)
memcheck/tests/bug287260 (stderr)
memcheck/tests/darwin/aio (stderr)
memcheck/tests/darwin/pth-supp (stderr)
memcheck/tests/darwin/scalar (stderr)
memcheck/tests/deep-backtrace (stderr)
memcheck/tests/err_disable4 (stderr)
memcheck/tests/leak-delta (stderr)
memcheck/tests/leak-segv-jmp (stderr)
memcheck/tests/memcmptest (stderr)
memcheck/tests/mismatches (stderr)
memcheck/tests/null_socket (stdout)
memcheck/tests/origin5-bz2 (stderr)
memcheck/tests/overlap (stdout)
memcheck/tests/overlap (stderr)
memcheck/tests/sem (stderr)
memcheck/tests/strchr (stderr)
memcheck/tests/test-plo-no (stderr)
memcheck/tests/varinfo3 (stderr)
memcheck/tests/varinfo5 (stderr)
memcheck/tests/vbit-test/vbit-test (stderr)
memcheck/tests/vcpu_fnfns (stdout)
memcheck/tests/writev1 (stderr)
massif/tests/big-alloc (post)
massif/tests/pages_as_heap (stderr)
none/tests/allexec32 (stderr)
none/tests/allexec64 (stderr)
none/tests/async-sigs (stderr)
none/tests/cmdline5 (stderr)
none/tests/execve (stderr)
none/tests/faultstatus (stderr)
none/tests/mmap_fcntl_bug (stderr)
none/tests/nodir (stderr)
none/tests/pth_blockedsig (stderr)
none/tests/require-text-symbol-2 (stderr)
none/tests/rlimit64_nofile (stderr)
none/tests/shell_nosuchfile (stderr)
none/tests/x86/cse_fail (stdout)
helgrind/tests/annotate_hbefore (stderr)
helgrind/tests/annotate_rwlock (stderr)
helgrind/tests/annotate_smart_pointer (stderr)
helgrind/tests/cond_timedwait_invalid (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/hg01_all_ok (stderr)
helgrind/tests/hg02_deadlock (stderr)
helgrind/tests/hg03_inherit (stderr)
helgrind/tests/hg04_race (stderr)
helgrind/tests/hg05_race2 (stderr)
helgrind/tests/hg06_readshared (stderr)
helgrind/tests/locked_vs_unlocked1_fwd (stderr)
helgrind/tests/locked_vs_unlocked1_rev (stderr)
helgrind/tests/locked_vs_unlocked2 (stderr)
helgrind/tests/locked_vs_unlocked3 (stderr)
helgrind/tests/pth_destroy_cond (stderr)
helgrind/tests/rwlock_race (stderr)
helgrind/tests/rwlock_test (stderr)
helgrind/tests/t2t_laog (stderr)
helgrind/tests/tc01_simple_race (stderr)
helgrind/tests/tc02_simple_tls (stderr)
helgrind/tests/tc03_re_excl (stderr)
helgrind/tests/tc04_free_lock (stderr)
helgrind/tests/tc05_simple_race (stderr)
helgrind/tests/tc06_two_races (stderr)
helgrind/tests/tc06_two_races_xml (stderr)
helgrind/tests/tc07_hbl1 (stderr)
helgrind/tests/tc08_hbl2 (stderr)
helgrind/tests/tc09_bad_unlock (stderr)
helgrind/tests/tc10_rec_lock (stderr)
helgrind/tests/tc11_XCHG (stderr)
helgrind/tests/tc12_rwl_trivial (stderr)
helgrind/tests/tc13_laog1 (stderr)
helgrind/tests/tc14_laog_dinphils (stderr)
helgrind/tests/tc15_laog_lockdel (stderr)
helgrind/tests/tc16_byterace (stderr)
helgrind/tests/tc17_sembar (stderr)
helgrind/tests/tc18_semabuse (stderr)
helgrind/tests/tc19_shadowmem (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tc23_bogus_condwait (stderr)
helgrind/tests/tc24_nonzero_sem (stderr)
drd/tests/annotate_barrier (stderr)
drd/tests/annotate_barrier_xml (stderr)
drd/tests/annotate_hb_race (stderr)
drd/tests/annotate_hbefore (stderr)
drd/tests/annotate_ignore_read (stderr)
drd/tests/annotate_ignore_rw (stderr)
drd/tests/annotate_ignore_rw2 (stderr)
drd/tests/annotate_ignore_write (stderr)
drd/tests/annotate_ignore_write2 (stderr)
drd/tests/annotate_order_1 (stderr)
drd/tests/annotate_order_2 (stderr)
drd/tests/annotate_order_3 (stderr)
drd/tests/annotate_rwlock (stderr)
drd/tests/annotate_smart_pointer (stderr)
drd/tests/annotate_smart_pointer2 (stderr)
drd/tests/annotate_spinlock (stderr)
drd/tests/annotate_static (stderr)
drd/tests/atomic_var (stderr)
drd/tests/bug-235681 (stderr)
drd/tests/circular_buffer (stderr)
drd/tests/fp_race (stderr)
drd/tests/fp_race2 (stderr)
drd/tests/fp_race_xml (stderr)
drd/tests/free_is_write (stderr)
drd/tests/free_is_write2 (stderr)
drd/tests/hg01_all_ok (stderr)
drd/tests/hg02_deadlock (stderr)
drd/tests/hg03_inherit (stderr)
drd/tests/hg04_race (stderr)
drd/tests/hg05_race2 (stderr)
drd/tests/hg06_readshared (stderr)
drd/tests/linuxthreads_det (stderr)
drd/tests/monitor_example (stderr)
drd/tests/pth_broadcast (stderr)
drd/tests/pth_cleanup_handler (stderr)
drd/tests/pth_cond_race (stderr)
drd/tests/pth_cond_race2 (stderr)
drd/tests/pth_cond_race3 (stderr)
drd/tests/pth_create_chain (stderr)
drd/tests/pth_detached3 (stderr)
drd/tests/pth_inconsistent_cond_wait (stderr)
drd/tests/pth_once (stderr)
drd/tests/read_and_free_race (stderr)
drd/tests/rwlock_race (stderr)
drd/tests/rwlock_test (stderr)
drd/tests/sem_open (stderr)
drd/tests/sem_open2 (stderr)
drd/tests/sem_open3 (stderr)
drd/tests/sem_open_traced (stderr)
drd/tests/sem_wait (stderr)
drd/tests/sigalrm (stderr)
drd/tests/tc01_simple_race (stderr)
drd/tests/tc02_simple_tls (stderr)
drd/tests/tc03_re_excl (stderr)
drd/tests/tc05_simple_race (stderr)
drd/tests/tc06_two_races (stderr)
drd/tests/tc07_hbl1 (stderr)
drd/tests/tc08_hbl2 (stderr)
drd/tests/tc09_bad_unlock (stderr)
drd/tests/tc11_XCHG (stderr)
drd/tests/tc16_byterace (stderr)
drd/tests/tc17_sembar (stderr)
drd/tests/tc19_shadowmem (stderr)
drd/tests/tc21_pthonce (stderr)
drd/tests/tc23_bogus_condwait (stderr)
drd/tests/thread_name (stderr)
drd/tests/thread_name_xml (stderr)
drd/tests/threaded-fork (stderr)
drd/tests/unit_bitmap (stderr)
drd/tests/unit_vc (stderr)
=================================================
== Results from 24 hours ago ==
=================================================
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 501 tests, 147 stderr failures, 5 stdout failures, 3 stderrB failures, 3 stdoutB failures, 1 post failure ==
gdbserver_tests/mchelp (stdoutB)
gdbserver_tests/mchelp (stderrB)
gdbserver_tests/mcinvokeRU (stdoutB)
gdbserver_tests/mcinvokeRU (stderrB)
gdbserver_tests/mcinvokeWS (stdoutB)
gdbserver_tests/mcinvokeWS (stderrB)
memcheck/tests/accounting (stderr)
memcheck/tests/badpoll (stderr)
memcheck/tests/big_blocks_freed_list (stderr)
memcheck/tests/bug287260 (stderr)
memcheck/tests/darwin/aio (stderr)
memcheck/tests/darwin/pth-supp (stderr)
memcheck/tests/darwin/scalar (stderr)
memcheck/tests/deep-backtrace (stderr)
memcheck/tests/err_disable4 (stderr)
memcheck/tests/leak-delta (stderr)
memcheck/tests/leak-segv-jmp (stderr)
memcheck/tests/memcmptest (stderr)
memcheck/tests/mismatches (stderr)
memcheck/tests/null_socket (stdout)
memcheck/tests/origin5-bz2 (stderr)
memcheck/tests/overlap (stdout)
memcheck/tests/overlap (stderr)
memcheck/tests/sem (stderr)
memcheck/tests/strchr (stderr)
memcheck/tests/test-plo-no (stderr)
memcheck/tests/varinfo3 (stderr)
memcheck/tests/varinfo5 (stderr)
memcheck/tests/vbit-test/vbit-test (stderr)
memcheck/tests/vcpu_fnfns (stdout)
memcheck/tests/writev1 (stderr)
massif/tests/big-alloc (post)
massif/tests/pages_as_heap (stderr)
none/tests/allexec32 (stderr)
none/tests/allexec64 (stderr)
none/tests/async-sigs (stderr)
none/tests/cmdline5 (stderr)
none/tests/execve (stderr)
none/tests/faultstatus (stderr)
none/tests/mmap_fcntl_bug (stderr)
none/tests/nodir (stderr)
none/tests/pth_blockedsig (stderr)
none/tests/require-text-symbol-2 (stderr)
none/tests/rlimit64_nofile (stderr)
none/tests/shell_nosuchfile (stderr)
none/tests/x86/cse_fail (stdout)
helgrind/tests/annotate_hbefore (stderr)
helgrind/tests/annotate_rwlock (stderr)
helgrind/tests/annotate_smart_pointer (stderr)
helgrind/tests/cond_timedwait_invalid (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/hg01_all_ok (stderr)
helgrind/tests/hg02_deadlock (stderr)
helgrind/tests/hg03_inherit (stderr)
helgrind/tests/hg04_race (stderr)
helgrind/tests/hg05_race2 (stderr)
helgrind/tests/hg06_readshared (stderr)
helgrind/tests/locked_vs_unlocked1_fwd (stderr)
helgrind/tests/locked_vs_unlocked1_rev (stderr)
helgrind/tests/locked_vs_unlocked2 (stderr)
helgrind/tests/locked_vs_unlocked3 (stderr)
helgrind/tests/pth_destroy_cond (stderr)
helgrind/tests/rwlock_race (stderr)
helgrind/tests/rwlock_test (stderr)
helgrind/tests/t2t_laog (stderr)
helgrind/tests/tc01_simple_race (stderr)
helgrind/tests/tc02_simple_tls (stderr)
helgrind/tests/tc03_re_excl (stderr)
helgrind/tests/tc04_free_lock (stderr)
helgrind/tests/tc05_simple_race (stderr)
helgrind/tests/tc06_two_races (stderr)
helgrind/tests/tc06_two_races_xml (stderr)
helgrind/tests/tc07_hbl1 (stderr)
helgrind/tests/tc08_hbl2 (stdout)
helgrind/tests/tc08_hbl2 (stderr)
helgrind/tests/tc09_bad_unlock (stderr)
helgrind/tests/tc10_rec_lock (stderr)
helgrind/tests/tc11_XCHG (stderr)
helgrind/tests/tc12_rwl_trivial (stderr)
helgrind/tests/tc13_laog1 (stderr)
helgrind/tests/tc14_laog_dinphils (stderr)
helgrind/tests/tc15_laog_lockdel (stderr)
helgrind/tests/tc16_byterace (stderr)
helgrind/tests/tc17_sembar (stderr)
helgrind/tests/tc18_semabuse (stderr)
helgrind/tests/tc19_shadowmem (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tc23_bogus_condwait (stderr)
helgrind/tests/tc24_nonzero_sem (stderr)
drd/tests/annotate_barrier (stderr)
drd/tests/annotate_barrier_xml (stderr)
drd/tests/annotate_hb_race (stderr)
drd/tests/annotate_hbefore (stderr)
drd/tests/annotate_ignore_read (stderr)
drd/tests/annotate_ignore_rw (stderr)
drd/tests/annotate_ignore_rw2 (stderr)
drd/tests/annotate_ignore_write (stderr)
drd/tests/annotate_ignore_write2 (stderr)
drd/tests/annotate_order_1 (stderr)
drd/tests/annotate_order_2 (stderr)
drd/tests/annotate_order_3 (stderr)
drd/tests/annotate_rwlock (stderr)
drd/tests/annotate_smart_pointer (stderr)
drd/tests/annotate_smart_pointer2 (stderr)
drd/tests/annotate_spinlock (stderr)
drd/tests/annotate_static (stderr)
drd/tests/atomic_var (stderr)
drd/tests/bug-235681 (stderr)
drd/tests/circular_buffer (stderr)
drd/tests/fp_race (stderr)
drd/tests/fp_race2 (stderr)
drd/tests/fp_race_xml (stderr)
drd/tests/free_is_write (stderr)
drd/tests/free_is_write2 (stderr)
drd/tests/hg01_all_ok (stderr)
drd/tests/hg02_deadlock (stderr)
drd/tests/hg03_inherit (stderr)
drd/tests/hg04_race (stderr)
drd/tests/hg05_race2 (stderr)
drd/tests/hg06_readshared (stderr)
drd/tests/linuxthreads_det (stderr)
drd/tests/monitor_example (stderr)
drd/tests/pth_broadcast (stderr)
drd/tests/pth_cleanup_handler (stderr)
drd/tests/pth_cond_race (stderr)
drd/tests/pth_cond_race2 (stderr)
drd/tests/pth_cond_race3 (stderr)
drd/tests/pth_create_chain (stderr)
drd/tests/pth_detached3 (stderr)
drd/tests/pth_inconsistent_cond_wait (stderr)
drd/tests/pth_once (stderr)
drd/tests/read_and_free_race (stderr)
drd/tests/rwlock_race (stderr)
drd/tests/rwlock_test (stderr)
drd/tests/sem_open (stderr)
drd/tests/sem_open2 (stderr)
drd/tests/sem_open3 (stderr)
drd/tests/sem_open_traced (stderr)
drd/tests/sem_wait (stderr)
drd/tests/sigalrm (stderr)
drd/tests/tc01_simple_race (stderr)
drd/tests/tc02_simple_tls (stderr)
drd/tests/tc03_re_excl (stderr)
drd/tests/tc05_simple_race (stderr)
drd/tests/tc06_two_races (stderr)
drd/tests/tc07_hbl1 (stderr)
drd/tests/tc08_hbl2 (stderr)
drd/tests/tc09_bad_unlock (stderr)
drd/tests/tc11_XCHG (stderr)
drd/tests/tc16_byterace (stderr)
drd/tests/tc17_sembar (stderr)
drd/tests/tc19_shadowmem (stderr)
drd/tests/tc21_pthonce (stderr)
drd/tests/tc23_bogus_condwait (stderr)
drd/tests/thread_name (stderr)
drd/tests/thread_name_xml (stderr)
drd/tests/threaded-fork (stderr)
drd/tests/unit_bitmap (stderr)
drd/tests/unit_vc (stderr)
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short Fri Oct 26 23:58:52 2012
--- new.short Sat Oct 27 00:19:58 2012
***************
*** 8,10 ****
! == 501 tests, 147 stderr failures, 5 stdout failures, 3 stderrB failures, 3 stdoutB failures, 1 post failure ==
gdbserver_tests/mchelp (stdoutB)
--- 8,10 ----
! == 501 tests, 147 stderr failures, 4 stdout failures, 3 stderrB failures, 3 stdoutB failures, 1 post failure ==
gdbserver_tests/mchelp (stdoutB)
***************
*** 82,84 ****
helgrind/tests/tc07_hbl1 (stderr)
- helgrind/tests/tc08_hbl2 (stdout)
helgrind/tests/tc08_hbl2 (stderr)
--- 82,83 ----
=================================================
./valgrind-new/drd/tests/annotate_barrier.stderr.diff
=================================================
--- annotate_barrier.stderr.exp 2012-10-26 23:59:14.000000000 -0500
+++ annotate_barrier.stderr.out 2012-10-27 00:16:46.000000000 -0500
@@ -37,6 +37,117 @@
by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
Thread 1:
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: ???
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: new_sem_from_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: new_sem_from_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: new_sem_from_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: new_sem_from_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+Address 0x........ is at offset 4 from 0x......... Allocation context:
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: realloc (vg_replace_malloc.c:...)
+ by 0x........: new_sem_from_pool (in /...libc...)
+
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: new_sem_from_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: ???
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+Address 0x........ is at offset 4 from 0x......... Allocation context:
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: realloc (vg_replace_malloc.c:...)
+ by 0x........: new_sem_from_pool (in /...libc...)
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: ???
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
<truncated beyond 100 lines>
=================================================
./valgrind-new/drd/tests/annotate_barrier_xml.stderr.diff
=================================================
--- annotate_barrier_xml.stderr.exp 2012-10-26 23:59:14.000000000 -0500
+++ annotate_barrier_xml.stderr.out 2012-10-27 00:16:47.000000000 -0500
@@ -188,7 +188,7 @@
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>start_thread</fn>
+ <fn>_pthread_start</fn>
</frame>
</stack>
<auxwhat>Address 0x........ is at offset 0 from 0x.........</auxwhat>
@@ -258,6 +258,549 @@
<error>
<unique>0x........</unique>
<tid>...</tid>
+ <kind>ConflictingAccess</kind>
+ <what>Conflicting load by thread 1 at 0x........ size 4</what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_join$UNIX2003</fn>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_join$*</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ <auxwhat>Allocation context: Data section of /usr/lib/libSystem.B.dylib</auxwhat>
+</error>
+
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>ConflictingAccess</kind>
+ <what>Conflicting load by thread 1 at 0x........ size 4</what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>new_sem_from_pool</fn>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_join$UNIX2003</fn>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_join$*</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ <auxwhat>Allocation context: Data section of /usr/lib/libSystem.B.dylib</auxwhat>
+</error>
+
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>ConflictingAccess</kind>
+ <what>Conflicting load by thread 1 at 0x........ size 4</what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>new_sem_from_pool</fn>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_join$UNIX2003</fn>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_join$*</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ <auxwhat>Allocation context: Data section of /usr/lib/libSystem.B.dylib</auxwhat>
+</error>
+
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>ConflictingAccess</kind>
+ <what>Conflicting load by thread 1 at 0x........ size 4</what>
+ <stack>
<truncated beyond 100 lines>
=================================================
./valgrind-new/drd/tests/annotate_hb_race.stderr.diff
=================================================
--- annotate_hb_race.stderr.exp 2012-10-26 23:59:14.000000000 -0500
+++ annotate_hb_race.stderr.out 2012-10-27 00:16:49.000000000 -0500
@@ -3,6 +3,60 @@
at 0x........: main (annotate_hb_race.c:?)
Allocation context: BSS section of annotate_hb_race
+Conflicting load by thread x at 0x........ size 4
+ at 0x........: ???
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_hb_race.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread x at 0x........ size 4
+ at 0x........: ???
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_hb_race.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread x at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_hb_race.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting store by thread x at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_hb_race.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread x at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_hb_race.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting store by thread x at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_hb_race.c:?)
+Address 0x........ is at offset 4 from 0x......... Allocation context:
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: realloc (vg_replace_malloc.c:...)
+ by 0x........: new_sem_from_pool (in /...libc...)
+ by 0x........: _pthread_exit (in /...libc...)
+ by 0x........: thread_start (in /...libc...)
+
+Conflicting load by thread x at 0x........ size 4
+ at 0x........: ???
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_hb_race.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
Done.
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/annotate_hbefore.stderr.diff
=================================================
--- annotate_hbefore.stderr.exp 2012-10-26 23:59:14.000000000 -0500
+++ annotate_hbefore.stderr.out 2012-10-27 00:16:51.000000000 -0500
@@ -1,3 +1,44 @@
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: ???
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_hbefore.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_hbefore.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_hbefore.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_hbefore.c:?)
+Address 0x........ is at offset 4 from 0x......... Allocation context:
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: realloc (vg_replace_malloc.c:...)
+ by 0x........: new_sem_from_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_hbefore.c:?)
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: ???
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_hbefore.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+
+ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/annotate_ignore_read.stderr.diff
=================================================
--- annotate_ignore_read.stderr.exp 2012-10-26 23:59:14.000000000 -0500
+++ annotate_ignore_read.stderr.out 2012-10-27 00:16:52.000000000 -0500
@@ -1,6 +1,159 @@
FLAGS [phb=1, fm=0]
test69: negative
+Conflicting load by thread x at 0x........ size 4
+ at 0x........: ???
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: MyThread::Join() (tsan_thread_wrappers_pthread.h:?)
+ by 0x........: MyThreadArray::Join() (tsan_unittest.cpp:?)
+ by 0x........: test69::Run() (tsan_unittest.cpp:?)
+ by 0x........: Test::Run() (tsan_unittest.cpp:?)
+ by 0x........: main (tsan_unittest.cpp:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread x at 0x........ size 4
+ at 0x........: ???
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: MyThread::Join() (tsan_thread_wrappers_pthread.h:?)
+ by 0x........: MyThreadArray::Join() (tsan_unittest.cpp:?)
+ by 0x........: test69::Run() (tsan_unittest.cpp:?)
+ by 0x........: Test::Run() (tsan_unittest.cpp:?)
+ by 0x........: main (tsan_unittest.cpp:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread x at 0x........ size 4
+ at 0x........: new_sem_from_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: MyThread::Join() (tsan_thread_wrappers_pthread.h:?)
+ by 0x........: MyThreadArray::Join() (tsan_unittest.cpp:?)
+ by 0x........: test69::Run() (tsan_unittest.cpp:?)
+ by 0x........: Test::Run() (tsan_unittest.cpp:?)
+ by 0x........: main (tsan_unittest.cpp:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread x at 0x........ size 4
+ at 0x........: new_sem_from_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: MyThread::Join() (tsan_thread_wrappers_pthread.h:?)
+ by 0x........: MyThreadArray::Join() (tsan_unittest.cpp:?)
+ by 0x........: test69::Run() (tsan_unittest.cpp:?)
+ by 0x........: Test::Run() (tsan_unittest.cpp:?)
+ by 0x........: main (tsan_unittest.cpp:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread x at 0x........ size 4
+ at 0x........: new_sem_from_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: MyThread::Join() (tsan_thread_wrappers_pthread.h:?)
+ by 0x........: MyThreadArray::Join() (tsan_unittest.cpp:?)
+ by 0x........: test69::Run() (tsan_unittest.cpp:?)
+ by 0x........: Test::Run() (tsan_unittest.cpp:?)
+ by 0x........: main (tsan_unittest.cpp:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread x at 0x........ size 4
+ at 0x........: new_sem_from_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: MyThread::Join() (tsan_thread_wrappers_pthread.h:?)
+ by 0x........: MyThreadArray::Join() (tsan_unittest.cpp:?)
+ by 0x........: test69::Run() (tsan_unittest.cpp:?)
+ by 0x........: Test::Run() (tsan_unittest.cpp:?)
+ by 0x........: main (tsan_unittest.cpp:?)
+Address 0x........ is at offset 12 from 0x......... Allocation context:
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: realloc (vg_replace_malloc.c:...)
+ by 0x........: new_sem_from_pool (in /...libc...)
+ by 0x........: _pthread_exit (in /...libc...)
+ by 0x........: thread_start (in /...libc...)
+
+Conflicting store by thread x at 0x........ size 4
+ at 0x........: new_sem_from_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: MyThread::Join() (tsan_thread_wrappers_pthread.h:?)
+ by 0x........: MyThreadArray::Join() (tsan_unittest.cpp:?)
+ by 0x........: test69::Run() (tsan_unittest.cpp:?)
+ by 0x........: Test::Run() (tsan_unittest.cpp:?)
+ by 0x........: main (tsan_unittest.cpp:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread x at 0x........ size 4
+ at 0x........: ???
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: MyThread::Join() (tsan_thread_wrappers_pthread.h:?)
+ by 0x........: MyThreadArray::Join() (tsan_unittest.cpp:?)
+ by 0x........: test69::Run() (tsan_unittest.cpp:?)
+ by 0x........: Test::Run() (tsan_unittest.cpp:?)
+ by 0x........: main (tsan_unittest.cpp:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread x at 0x........ size 4
<truncated beyond 100 lines>
=================================================
./valgrind-new/drd/tests/annotate_ignore_rw.stderr.diff
=================================================
--- annotate_ignore_rw.stderr.exp 2012-10-26 23:59:14.000000000 -0500
+++ annotate_ignore_rw.stderr.out 2012-10-27 00:16:54.000000000 -0500
@@ -4,6 +4,60 @@
Location 0x........ is 0 bytes inside local var "s_c"
declared at annotate_ignore_rw.c:12, in frame #? of thread 1
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: ???
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_ignore_rw.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: ???
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_ignore_rw.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_ignore_rw.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_ignore_rw.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_ignore_rw.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_ignore_rw.c:?)
+Address 0x........ is at offset 0 from 0x......... Allocation context:
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: realloc (vg_replace_malloc.c:...)
+ by 0x........: new_sem_from_pool (in /...libc...)
+ by 0x........: _pthread_exit (in /...libc...)
+ by 0x........: thread_start (in /...libc...)
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: ???
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_ignore_rw.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
Finished.
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/annotate_ignore_rw2.stderr.diff
=================================================
--- annotate_ignore_rw2.stderr.exp 2012-10-26 23:59:14.000000000 -0500
+++ annotate_ignore_rw2.stderr.out 2012-10-27 00:16:56.000000000 -0500
@@ -14,6 +14,60 @@
Location 0x........ is 0 bytes inside local var "s_c"
declared at annotate_ignore_rw.c:12, in frame #? of thread 1
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: ???
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_ignore_rw.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: ???
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_ignore_rw.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_ignore_rw.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_ignore_rw.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_ignore_rw.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_ignore_rw.c:?)
+Address 0x........ is at offset 0 from 0x......... Allocation context:
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: realloc (vg_replace_malloc.c:...)
+ by 0x........: new_sem_from_pool (in /...libc...)
+ by 0x........: _pthread_exit (in /...libc...)
+ by 0x........: thread_start (in /...libc...)
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: ???
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_ignore_rw.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
Finished.
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 10 errors from 10 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/annotate_ignore_write.stderr.diff
=================================================
--- annotate_ignore_write.stderr.exp 2012-10-26 23:59:14.000000000 -0500
+++ annotate_ignore_write.stderr.out 2012-10-27 00:16:57.000000000 -0500
@@ -14,6 +14,60 @@
Location 0x........ is 0 bytes inside local var "s_a"
declared at annotate_ignore_write.c:10, in frame #? of thread 1
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: ???
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_ignore_write.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: ???
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_ignore_write.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_ignore_write.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_ignore_write.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_ignore_write.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_ignore_write.c:?)
+Address 0x........ is at offset 0 from 0x......... Allocation context:
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: realloc (vg_replace_malloc.c:...)
+ by 0x........: new_sem_from_pool (in /...libc...)
+ by 0x........: _pthread_exit (in /...libc...)
+ by 0x........: thread_start (in /...libc...)
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: ???
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_ignore_write.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
Finished.
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 10 errors from 10 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/annotate_ignore_write2.stderr.diff
=================================================
--- annotate_ignore_write2.stderr.exp 2012-10-26 23:59:14.000000000 -0500
+++ annotate_ignore_write2.stderr.out 2012-10-27 00:16:58.000000000 -0500
@@ -19,6 +19,60 @@
Location 0x........ is 0 bytes inside local var "s_a"
declared at annotate_ignore_write.c:10, in frame #? of thread 1
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: ???
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_ignore_write.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: ???
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_ignore_write.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_ignore_write.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_ignore_write.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_ignore_write.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_ignore_write.c:?)
+Address 0x........ is at offset 0 from 0x......... Allocation context:
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: realloc (vg_replace_malloc.c:...)
+ by 0x........: new_sem_from_pool (in /...libc...)
+ by 0x........: _pthread_exit (in /...libc...)
+ by 0x........: thread_start (in /...libc...)
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: ???
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_ignore_write.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
Finished.
-ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 11 errors from 11 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/annotate_order_1.stderr.diff
=================================================
--- annotate_order_1.stderr.exp 2012-10-26 23:59:14.000000000 -0500
+++ annotate_order_1.stderr.out 2012-10-27 00:17:00.000000000 -0500
@@ -1,6 +1,18 @@
FLAGS [phb=1, fm=0]
test03: negative
+Conflicting load by thread x at 0x........ size 4
+ at 0x........: ???
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: MyThread::Join() (tsan_thread_wrappers_pthread.h:?)
+ by 0x........: ThreadPool::~ThreadPool() (tsan_thread_wrappers_pthread.h:?)
+ by 0x........: test03::Waiter() (tsan_unittest.cpp:?)
+ by 0x........: test03::Run() (tsan_unittest.cpp:?)
+ by 0x........: Test::Run() (tsan_unittest.cpp:?)
+ by 0x........: main (tsan_unittest.cpp:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
GLOB=2
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/annotate_order_2.stderr.diff
=================================================
--- annotate_order_2.stderr.exp 2012-10-26 23:59:14.000000000 -0500
+++ annotate_order_2.stderr.out 2012-10-27 00:17:02.000000000 -0500
@@ -1,6 +1,71 @@
FLAGS [phb=1, fm=0]
test30: negative
+Conflicting load by thread x at 0x........ size 4
+ at 0x........: ???
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: MyThread::Join() (tsan_thread_wrappers_pthread.h:?)
+ by 0x........: MyThreadArray::Join() (tsan_unittest.cpp:?)
+ by 0x........: test30::Run() (tsan_unittest.cpp:?)
+ by 0x........: Test::Run() (tsan_unittest.cpp:?)
+ by 0x........: main (tsan_unittest.cpp:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread x at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: MyThread::Join() (tsan_thread_wrappers_pthread.h:?)
+ by 0x........: MyThreadArray::Join() (tsan_unittest.cpp:?)
+ by 0x........: test30::Run() (tsan_unittest.cpp:?)
+ by 0x........: Test::Run() (tsan_unittest.cpp:?)
+ by 0x........: main (tsan_unittest.cpp:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting store by thread x at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: MyThread::Join() (tsan_thread_wrappers_pthread.h:?)
+ by 0x........: MyThreadArray::Join() (tsan_unittest.cpp:?)
+ by 0x........: test30::Run() (tsan_unittest.cpp:?)
+ by 0x........: Test::Run() (tsan_unittest.cpp:?)
+ by 0x........: main (tsan_unittest.cpp:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting store by thread x at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: MyThread::Join() (tsan_thread_wrappers_pthread.h:?)
+ by 0x........: MyThreadArray::Join() (tsan_unittest.cpp:?)
+ by 0x........: test30::Run() (tsan_unittest.cpp:?)
+ by 0x........: Test::Run() (tsan_unittest.cpp:?)
+ by 0x........: main (tsan_unittest.cpp:?)
+Address 0x........ is at offset 12 from 0x......... Allocation context:
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: realloc (vg_replace_malloc.c:...)
+ by 0x........: new_sem_from_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: MyThread::Join() (tsan_thread_wrappers_pthread.h:?)
+ by 0x........: MyThreadArray::Join() (tsan_unittest.cpp:?)
+ by 0x........: test30::Run() (tsan_unittest.cpp:?)
+ by 0x........: Test::Run() (tsan_unittest.cpp:?)
+ by 0x........: main (tsan_unittest.cpp:?)
+
+Conflicting load by thread x at 0x........ size 4
+ at 0x........: ???
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: MyThread::Join() (tsan_thread_wrappers_pthread.h:?)
+ by 0x........: MyThreadArray::Join() (tsan_unittest.cpp:?)
+ by 0x........: test30::Run() (tsan_unittest.cpp:?)
+ by 0x........: Test::Run() (tsan_unittest.cpp:?)
+ by 0x........: main (tsan_unittest.cpp:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
GLOB=47
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/annotate_order_3.stderr.diff
=================================================
--- annotate_order_3.stderr.exp 2012-10-26 23:59:14.000000000 -0500
+++ annotate_order_3.stderr.out 2012-10-27 00:17:04.000000000 -0500
@@ -1,6 +1,71 @@
FLAGS [phb=1, fm=0]
test31: negative
+Conflicting load by thread x at 0x........ size 4
+ at 0x........: ???
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: MyThread::Join() (tsan_thread_wrappers_pthread.h:?)
+ by 0x........: MyThreadArray::Join() (tsan_unittest.cpp:?)
+ by 0x........: test31::Run() (tsan_unittest.cpp:?)
+ by 0x........: Test::Run() (tsan_unittest.cpp:?)
+ by 0x........: main (tsan_unittest.cpp:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread x at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: MyThread::Join() (tsan_thread_wrappers_pthread.h:?)
+ by 0x........: MyThreadArray::Join() (tsan_unittest.cpp:?)
+ by 0x........: test31::Run() (tsan_unittest.cpp:?)
+ by 0x........: Test::Run() (tsan_unittest.cpp:?)
+ by 0x........: main (tsan_unittest.cpp:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting store by thread x at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: MyThread::Join() (tsan_thread_wrappers_pthread.h:?)
+ by 0x........: MyThreadArray::Join() (tsan_unittest.cpp:?)
+ by 0x........: test31::Run() (tsan_unittest.cpp:?)
+ by 0x........: Test::Run() (tsan_unittest.cpp:?)
+ by 0x........: main (tsan_unittest.cpp:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting store by thread x at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: MyThread::Join() (tsan_thread_wrappers_pthread.h:?)
+ by 0x........: MyThreadArray::Join() (tsan_unittest.cpp:?)
+ by 0x........: test31::Run() (tsan_unittest.cpp:?)
+ by 0x........: Test::Run() (tsan_unittest.cpp:?)
+ by 0x........: main (tsan_unittest.cpp:?)
+Address 0x........ is at offset 4 from 0x......... Allocation context:
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: realloc (vg_replace_malloc.c:...)
+ by 0x........: new_sem_from_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: MyThread::Join() (tsan_thread_wrappers_pthread.h:?)
+ by 0x........: MyThreadArray::Join() (tsan_unittest.cpp:?)
+ by 0x........: test31::Run() (tsan_unittest.cpp:?)
+ by 0x........: Test::Run() (tsan_unittest.cpp:?)
+ by 0x........: main (tsan_unittest.cpp:?)
+
+Conflicting load by thread x at 0x........ size 4
+ at 0x........: ???
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: MyThread::Join() (tsan_thread_wrappers_pthread.h:?)
+ by 0x........: MyThreadArray::Join() (tsan_unittest.cpp:?)
+ by 0x........: test31::Run() (tsan_unittest.cpp:?)
+ by 0x........: Test::Run() (tsan_unittest.cpp:?)
+ by 0x........: main (tsan_unittest.cpp:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
GLOB=48
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/annotate_rwlock.stderr.diff
=================================================
--- annotate_rwlock.stderr.exp 2012-10-26 23:59:14.000000000 -0500
+++ annotate_rwlock.stderr.out 2012-10-27 00:17:09.000000000 -0500
@@ -1,4 +1,58 @@
+Conflicting load by thread x at 0x........ size 4
+ at 0x........: ???
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_rwlock.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread x at 0x........ size 4
+ at 0x........: ???
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_rwlock.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread x at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_rwlock.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting store by thread x at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_rwlock.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting load by thread x at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_rwlock.c:?)
+Allocation context: Data section of /usr/lib/libSystem.B.dylib
+
+Conflicting store by thread x at 0x........ size 4
+ at 0x........: restore_sem_to_pool (in /...libc...)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_rwlock.c:?)
+Address 0x........ is at offset 36 from 0x......... Allocation context:
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: realloc (vg_replace_malloc.c:...)
+ by 0x........: new_sem_from_pool (in /...libc...)
+ by 0x........: _pthread_exit (in /...libc...)
+ by 0x........: thread_start (in /...libc...)
+
+Conflicting load by thread x at 0x........ size 4
+ at 0x........: ???
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join (drd_pthread_intercepts.c:?)
+ by 0x........: main (annotate_rwlock.c:?)
+Allocation context: Data secti...
[truncated message content] |
|
From: Philippe W. <phi...@sk...> - 2012-10-27 03:47:22
|
valgrind revision: 13084 VEX revision: 2556 C compiler: gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2) Assembler: GNU assembler version 2.21.53.0.1-6.fc16 20110716 C library: GNU C Library development release version 2.14.90 uname -mrs: Linux 3.3.1-3.fc16.ppc64 ppc64 Vendor version: Fedora release 16 (Verne) Nightly build on gcc110 ( Fedora release 16 (Verne), ppc64 ) Started at 2012-10-26 20:00:08 PDT Ended at 2012-10-26 20:45:47 PDT 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 == 537 tests, 7 stderr failures, 2 stdout failures, 1 stderrB failure, 1 stdoutB failure, 2 post failures == gdbserver_tests/mcmain_pic (stdout) gdbserver_tests/mcmain_pic (stderr) gdbserver_tests/mcmain_pic (stdoutB) gdbserver_tests/mcmain_pic (stderrB) memcheck/tests/supp_unknown (stderr) memcheck/tests/trivialleak (stderr) memcheck/tests/varinfo6 (stderr) memcheck/tests/wrap8 (stdout) memcheck/tests/wrap8 (stderr) massif/tests/big-alloc (post) massif/tests/deep-D (post) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) |
|
From: Tom H. <to...@co...> - 2012-10-27 03:09:14
|
valgrind revision: 13084 VEX revision: 2556 C compiler: gcc (GCC) 4.3.0 20080428 (Red Hat 4.3.0-8) Assembler: GNU assembler version 2.18.50.0.6-2 20080403 C library: GNU C Library stable release version 2.8 uname -mrs: Linux 3.5.3-1.fc17.x86_64 x86_64 Vendor version: Fedora release 9 (Sulphur) Nightly build on bristol ( x86_64, Fedora 9 ) Started at 2012-10-27 03:41:32 BST Ended at 2012-10-27 04:08:53 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 == 609 tests, 0 stderr failures, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures == none/tests/amd64/sse4-64 (stdout) |
|
From: <br...@ac...> - 2012-10-27 02:59:57
|
valgrind revision: 13084
VEX revision: 2556
C compiler: gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3)
Assembler: GNU assembler 2.15.92.0.2 20040927
C library: GNU C Library stable release version 2.3.4
uname -mrs: Linux 2.6.9-42.EL s390x
Vendor version: Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
Nightly build on z10-ec ( s390x build on z10-EC )
Started at 2012-10-26 22:20:04 EDT
Ended at 2012-10-26 22:59:38 EDT
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
== 568 tests, 5 stderr failures, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/manuel3 (stderr)
memcheck/tests/partial_load_ok (stderr)
memcheck/tests/varinfo6 (stderr)
none/tests/s390x/fpconv (stdout)
helgrind/tests/tc09_bad_unlock (stderr)
helgrind/tests/tc20_verifywrap (stderr)
=================================================
./valgrind-new/helgrind/tests/tc09_bad_unlock.stderr.diff
=================================================
--- tc09_bad_unlock.stderr.exp 2012-10-26 22:42:28.000000000 -0400
+++ tc09_bad_unlock.stderr.out 2012-10-26 22:55:00.000000000 -0400
@@ -42,14 +42,6 @@
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:49)
-----------------------------------------------------------------
-
-Thread #x's call to pthread_mutex_unlock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
- by 0x........: nearly_main (tc09_bad_unlock.c:41)
- by 0x........: main (tc09_bad_unlock.c:49)
-
---------------------
----------------------------------------------------------------
@@ -110,16 +102,8 @@
----------------------------------------------------------------
-Thread #x's call to pthread_mutex_unlock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
- by 0x........: nearly_main (tc09_bad_unlock.c:41)
- by 0x........: main (tc09_bad_unlock.c:50)
-
-----------------------------------------------------------------
-
Thread #x: Exiting thread still holds 1 lock
...
-ERROR SUMMARY: 11 errors from 11 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 9 errors from 9 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff
=================================================
--- tc20_verifywrap.stderr.exp 2012-10-26 22:42:28.000000000 -0400
+++ tc20_verifywrap.stderr.out 2012-10-26 22:55:19.000000000 -0400
@@ -1,7 +1,7 @@
------- This is output for >= glibc 2.4 ------
+------ This is output for < glibc 2.4 ------
---------------- pthread_create/join ----------------
@@ -45,13 +45,6 @@
----------------------------------------------------------------
-Thread #x's call to pthread_mutex_init failed
- with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint)
- at 0x........: pthread_mutex_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:92)
-
-----------------------------------------------------------------
-
Thread #x: pthread_mutex_destroy of a locked mutex
at 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:102)
@@ -63,26 +56,8 @@
at 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:102)
-----------------------------------------------------------------
-
-Thread #x's call to pthread_mutex_lock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:108)
-
-----------------------------------------------------------------
-Thread #x's call to pthread_mutex_trylock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_trylock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:116)
-
-----------------------------------------------------------------
-
-Thread #x's call to pthread_mutex_timedlock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_timedlock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:121)
+make pthread_mutex_lock fail: skipped on glibc < 2.4
----------------------------------------------------------------
@@ -90,13 +65,6 @@
at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:125)
-----------------------------------------------------------------
-
-Thread #x's call to pthread_mutex_unlock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:125)
-
---------------- pthread_cond_wait et al ----------------
@@ -215,14 +183,6 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:242)
-----------------------------------------------------------------
-
-Thread #x's call to sem_post failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
- by 0x........: sem_post (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:245)
-
FIXME: can't figure out how to verify wrap of sem_post
@@ -235,4 +195,4 @@
...
-ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 17 errors from 17 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-mips32
=================================================
--- tc20_verifywrap.stderr.exp-mips32 2012-10-26 22:42:28.000000000 -0400
+++ tc20_verifywrap.stderr.out 2012-10-26 22:55:19.000000000 -0400
@@ -1,7 +1,7 @@
------- This is output for >= glibc 2.4 ------
+------ This is output for < glibc 2.4 ------
---------------- pthread_create/join ----------------
@@ -35,7 +35,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_join failed
- with error code 45 (EDEADLK: Resource deadlock would occur)
+ with error code 35 (EDEADLK: Resource deadlock would occur)
at 0x........: pthread_join_WRK (hg_intercepts.c:...)
by 0x........: pthread_join (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:83)
@@ -45,13 +45,6 @@
----------------------------------------------------------------
-Thread #x's call to pthread_mutex_init failed
- with error code 122 (EOPNOTSUPP: Operation not supported on transport endpoint)
- at 0x........: pthread_mutex_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:92)
-
-----------------------------------------------------------------
-
Thread #x: pthread_mutex_destroy of a locked mutex
at 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:102)
@@ -63,26 +56,8 @@
at 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:102)
-----------------------------------------------------------------
-
-Thread #x's call to pthread_mutex_lock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:108)
-----------------------------------------------------------------
-
-Thread #x's call to pthread_mutex_trylock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_trylock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:116)
-
-----------------------------------------------------------------
-
-Thread #x's call to pthread_mutex_timedlock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_timedlock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:121)
+make pthread_mutex_lock fail: skipped on glibc < 2.4
----------------------------------------------------------------
@@ -90,13 +65,6 @@
at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:125)
-----------------------------------------------------------------
-
-Thread #x's call to pthread_mutex_unlock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:125)
-
---------------- pthread_cond_wait et al ----------------
@@ -227,4 +195,4 @@
...
-ERROR SUMMARY: 22 errors from 22 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 17 errors from 17 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/memcheck/tests/manuel3.stderr.diff
=================================================
--- manuel3.stderr.exp 2012-10-26 22:42:35.000000000 -0400
+++ manuel3.stderr.out 2012-10-26 22:49:22.000000000 -0400
@@ -1,4 +1,3 @@
Conditional jump or move depends on uninitialised value(s)
- at 0x........: gcc_cant_inline_me (manuel3.c:22)
- by 0x........: main (manuel3.c:14)
+ at 0x........: main (manuel3.c:12)
=================================================
./valgrind-new/memcheck/tests/partial_load_ok.stderr.diff
=================================================
--- partial_load_ok.stderr.exp 2012-10-26 22:42:35.000000000 -0400
+++ partial_load_ok.stderr.out 2012-10-26 22:49:54.000000000 -0400
@@ -1,7 +1,13 @@
-Invalid read of size 4
+Invalid read of size 1
+ at 0x........: main (partial_load.c:16)
+ Address 0x........ is 0 bytes after a block of size 7 alloc'd
+ at 0x........: calloc (vg_replace_malloc.c:...)
+ by 0x........: main (partial_load.c:14)
+
+Invalid read of size 8
at 0x........: main (partial_load.c:23)
- Address 0x........ is 1 bytes inside a block of size 4 alloc'd
+ Address 0x........ is 1 bytes inside a block of size 8 alloc'd
at 0x........: calloc (vg_replace_malloc.c:...)
by 0x........: main (partial_load.c:20)
@@ -11,9 +17,9 @@
at 0x........: calloc (vg_replace_malloc.c:...)
by 0x........: main (partial_load.c:28)
-Invalid read of size 4
+Invalid read of size 8
at 0x........: main (partial_load.c:37)
- Address 0x........ is 0 bytes inside a block of size 4 free'd
+ Address 0x........ is 0 bytes inside a block of size 8 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (partial_load.c:36)
@@ -25,4 +31,4 @@
For a detailed leak analysis, rerun with: --leak-check=full
For counts of detected and suppressed errors, rerun with: -v
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/memcheck/tests/partial_load_ok.stderr.diff64
=================================================
--- partial_load_ok.stderr.exp64 2012-10-26 22:42:35.000000000 -0400
+++ partial_load_ok.stderr.out 2012-10-26 22:49:54.000000000 -0400
@@ -1,4 +1,10 @@
+Invalid read of size 1
+ at 0x........: main (partial_load.c:16)
+ Address 0x........ is 0 bytes after a block of size 7 alloc'd
+ at 0x........: calloc (vg_replace_malloc.c:...)
+ by 0x........: main (partial_load.c:14)
+
Invalid read of size 8
at 0x........: main (partial_load.c:23)
Address 0x........ is 1 bytes inside a block of size 8 alloc'd
@@ -25,4 +31,4 @@
For a detailed leak analysis, rerun with: --leak-check=full
For counts of detected and suppressed errors, rerun with: -v
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/memcheck/tests/varinfo6.stderr.diff
=================================================
--- varinfo6.stderr.exp 2012-10-26 22:42:35.000000000 -0400
+++ varinfo6.stderr.out 2012-10-26 22:50:56.000000000 -0400
@@ -7,8 +7,7 @@
by 0x........: BZ2_bzCompress (varinfo6.c:4860)
by 0x........: BZ2_bzBuffToBuffCompress (varinfo6.c:5667)
by 0x........: main (varinfo6.c:6517)
- Location 0x........ is 2 bytes inside local var "budget"
- declared at varinfo6.c:3115, in frame #2 of thread 1
+ Address 0x........ is on thread 1's stack
Uninitialised byte(s) found during client check request
at 0x........: croak (varinfo6.c:34)
=================================================
./valgrind-new/memcheck/tests/varinfo6.stderr.diff-ppc64
=================================================
--- varinfo6.stderr.exp-ppc64 2012-10-26 22:42:35.000000000 -0400
+++ varinfo6.stderr.out 2012-10-26 22:50:56.000000000 -0400
@@ -1,5 +1,5 @@
Uninitialised byte(s) found during client check request
- at 0x........: croak (varinfo6.c:35)
+ at 0x........: croak (varinfo6.c:34)
by 0x........: mainSort (varinfo6.c:2999)
by 0x........: BZ2_blockSort (varinfo6.c:3143)
by 0x........: BZ2_compressBlock (varinfo6.c:4072)
@@ -10,7 +10,7 @@
Address 0x........ is on thread 1's stack
Uninitialised byte(s) found during client check request
- at 0x........: croak (varinfo6.c:35)
+ at 0x........: croak (varinfo6.c:34)
by 0x........: BZ2_decompress (varinfo6.c:1699)
by 0x........: BZ2_bzDecompress (varinfo6.c:5230)
by 0x........: BZ2_bzBuffToBuffDecompress (varinfo6.c:5715)
=================================================
./valgrind-new/none/tests/s390x/fpconv.stdout.diff
=================================================
--- fpconv.stdout.exp 2012-10-26 22:42:49.000000000 -0400
+++ fpconv.stdout.out 2012-10-26 22:53:07.000000000 -0400
@@ -35,137 +35,137 @@
"cdgbr" -9223372036854775808.000000
"cdgbr" 9223372036854775808.000000
"cxfbr" 0.000000
-"cxfbr" 1.000000
-"cxfbr" -1.000000
-"cxfbr" -2147483648.000000
-"cxfbr" 2147483647.000000
+"cxfbr" 1.937500
+"cxfbr" -1.937500
+"cxfbr" -7.500000
+"cxfbr" 7.500000
"cxfbr" 0.000000
-"cxfbr" -1.000000
+"cxfbr" -1.937500
"cxfbr" 0.000000
-"cxfbr" -1.000000
+"cxfbr" -1.937500
"cxgbr" 0.000000
-"cxgbr" 1.000000
-"cxgbr" 4294967295.000000
-"cxgbr" 2147483648.000000
-"cxgbr" 2147483647.000000
-"cxgbr" 4294967296.000000
-"cxgbr" -1.000000
-"cxgbr" -9223372036854775808.000000
-"cxgbr" 9223372036854775807.000000
-"cfebr" 4294967295 cc=1
-"cfebr" 0 cc=0
-"cfebr" 1 cc=2
-"cfebr" 1 cc=2
-"cfebr" 2 cc=2
-"cfebr" 2 cc=2
-"cfebr" 16000 cc=2
-"cfebr" 160000000 cc=2
-"cfebr" 2147483647 cc=3
-"cfebr" 2147483647 cc=3
-"cfebr" 2147483647 cc=3
-"cfebr" 2147483647 cc=3
-"cfebr" 0 cc=2
-"cfebr" 0 cc=2
-"cfebr" 2147483647 cc=3
-"cfebr" 0 cc=0
-"cfebr" 2147483647 cc=3
-"cfebr" 0 cc=0
-"cfebr" 2147483647 cc=3
-"cgebr" -1 cc=1
-"cgebr" 0 cc=0
-"cgebr" 1 cc=2
-"cgebr" 1 cc=2
-"cgebr" 2 cc=2
-"cgebr" 2 cc=2
-"cgebr" 16000 cc=2
-"cgebr" 160000000 cc=2
-"cgebr" 1599999967232 cc=2
-"cgebr" 9223372036854775807 cc=3
-"cgebr" 9223372036854775807 cc=3
-"cgebr" 9223372036854775807 cc=3
-"cgebr" 0 cc=2
-"cgebr" 0 cc=2
-"cgebr" 9223372036854775807 cc=3
-"cgebr" 0 cc=0
-"cgebr" 9223372036854775807 cc=3
-"cgebr" 0 cc=0
-"cgebr" 9223372036854775807 cc=3
-"cfdbr" 4294967295 cc=1
-"cfdbr" 0 cc=0
-"cfdbr" 1 cc=2
-"cfdbr" 1 cc=2
-"cfdbr" 2 cc=2
-"cfdbr" 2 cc=2
-"cfdbr" 16000 cc=2
-"cfdbr" 160000000 cc=2
-"cfdbr" 2147483647 cc=3
-"cfdbr" 2147483647 cc=3
-"cfdbr" 2147483647 cc=3
-"cfdbr" 2147483647 cc=3
-"cfdbr" 0 cc=2
-"cfdbr" 0 cc=2
-"cfdbr" 2147483647 cc=3
-"cfdbr" 0 cc=2
-"cfdbr" 2147483647 cc=3
-"cfdbr" 0 cc=0
-"cfdbr" 2147483647 cc=3
-"cgdbr" -1 cc=1
-"cgdbr" 0 cc=0
-"cgdbr" 1 cc=2
-"cgdbr" 1 cc=2
-"cgdbr" 2 cc=2
-"cgdbr" 2 cc=2
-"cgdbr" 16000 cc=2
-"cgdbr" 160000000 cc=2
-"cgdbr" 1600000000000 cc=2
-"cgdbr" 9223372036854775807 cc=3
-"cgdbr" 9223372036854775807 cc=3
-"cgdbr" 9223372036854775807 cc=3
-"cgdbr" 0 cc=2
-"cgdbr" 0 cc=2
<truncated beyond 100 lines>
=================================================
./valgrind-old/helgrind/tests/tc09_bad_unlock.stderr.diff
=================================================
--- tc09_bad_unlock.stderr.exp 2012-10-26 22:21:14.000000000 -0400
+++ tc09_bad_unlock.stderr.out 2012-10-26 22:37:41.000000000 -0400
@@ -42,14 +42,6 @@
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:49)
-----------------------------------------------------------------
-
-Thread #x's call to pthread_mutex_unlock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
- by 0x........: nearly_main (tc09_bad_unlock.c:41)
- by 0x........: main (tc09_bad_unlock.c:49)
-
---------------------
----------------------------------------------------------------
@@ -110,16 +102,8 @@
----------------------------------------------------------------
-Thread #x's call to pthread_mutex_unlock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
- by 0x........: nearly_main (tc09_bad_unlock.c:41)
- by 0x........: main (tc09_bad_unlock.c:50)
-
-----------------------------------------------------------------
-
Thread #x: Exiting thread still holds 1 lock
...
-ERROR SUMMARY: 11 errors from 11 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 9 errors from 9 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tc20_verifywrap.stderr.diff
=================================================
--- tc20_verifywrap.stderr.exp 2012-10-26 22:21:14.000000000 -0400
+++ tc20_verifywrap.stderr.out 2012-10-26 22:37:59.000000000 -0400
@@ -1,7 +1,7 @@
------- This is output for >= glibc 2.4 ------
+------ This is output for < glibc 2.4 ------
---------------- pthread_create/join ----------------
@@ -45,13 +45,6 @@
----------------------------------------------------------------
-Thread #x's call to pthread_mutex_init failed
- with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint)
- at 0x........: pthread_mutex_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:92)
-
-----------------------------------------------------------------
-
Thread #x: pthread_mutex_destroy of a locked mutex
at 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:102)
@@ -63,26 +56,8 @@
at 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:102)
-----------------------------------------------------------------
-
-Thread #x's call to pthread_mutex_lock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:108)
-
-----------------------------------------------------------------
-Thread #x's call to pthread_mutex_trylock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_trylock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:116)
-
-----------------------------------------------------------------
-
-Thread #x's call to pthread_mutex_timedlock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_timedlock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:121)
+make pthread_mutex_lock fail: skipped on glibc < 2.4
----------------------------------------------------------------
@@ -90,13 +65,6 @@
at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:125)
-----------------------------------------------------------------
-
-Thread #x's call to pthread_mutex_unlock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:125)
-
---------------- pthread_cond_wait et al ----------------
@@ -215,14 +183,6 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:242)
-----------------------------------------------------------------
-
-Thread #x's call to sem_post failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
- by 0x........: sem_post (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:245)
-
FIXME: can't figure out how to verify wrap of sem_post
@@ -235,4 +195,4 @@
...
-ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 17 errors from 17 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tc20_verifywrap.stderr.diff-mips32
=================================================
--- tc20_verifywrap.stderr.exp-mips32 2012-10-26 22:21:14.000000000 -0400
+++ tc20_verifywrap.stderr.out 2012-10-26 22:37:59.000000000 -0400
@@ -1,7 +1,7 @@
------- This is output for >= glibc 2.4 ------
+------ This is output for < glibc 2.4 ------
---------------- pthread_create/join ----------------
@@ -35,7 +35,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_join failed
- with error code 45 (EDEADLK: Resource deadlock would occur)
+ with error code 35 (EDEADLK: Resource deadlock would occur)
at 0x........: pthread_join_WRK (hg_intercepts.c:...)
by 0x........: pthread_join (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:83)
@@ -45,13 +45,6 @@
----------------------------------------------------------------
-Thread #x's call to pthread_mutex_init failed
- with error code 122 (EOPNOTSUPP: Operation not supported on transport endpoint)
- at 0x........: pthread_mutex_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:92)
-
-----------------------------------------------------------------
-
Thread #x: pthread_mutex_destroy of a locked mutex
at 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:102)
@@ -63,26 +56,8 @@
at 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:102)
-----------------------------------------------------------------
-
-Thread #x's call to pthread_mutex_lock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:108)
-----------------------------------------------------------------
-
-Thread #x's call to pthread_mutex_trylock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_trylock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:116)
-
-----------------------------------------------------------------
-
-Thread #x's call to pthread_mutex_timedlock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_timedlock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:121)
+make pthread_mutex_lock fail: skipped on glibc < 2.4
----------------------------------------------------------------
@@ -90,13 +65,6 @@
at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:125)
-----------------------------------------------------------------
-
-Thread #x's call to pthread_mutex_unlock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:125)
-
---------------- pthread_cond_wait et al ----------------
@@ -227,4 +195,4 @@
...
-ERROR SUMMARY: 22 errors from 22 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 17 errors from 17 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/memcheck/tests/manuel3.stderr.diff
=================================================
--- manuel3.stderr.exp 2012-10-26 22:21:49.000000000 -0400
+++ manuel3.stderr.out 2012-10-26 22:32:02.000000000 -0400
@@ -1,4 +1,3 @@
Conditional jump or move depends on uninitialised value(s)
- at 0x........: gcc_cant_inline_me (manuel3.c:22)
- by 0x........: main (manuel3.c:14)
+ at 0x........: main (manuel3.c:12)
=================================================
./valgrind-old/memcheck/tests/partial_load_ok.stderr.diff
=================================================
--- partial_load_ok.stderr.exp 2012-10-26 22:21:49.000000000 -0400
+++ partial_load_ok.stderr.out 2012-10-26 22:32:33.000000000 -0400
@@ -1,7 +1,13 @@
-Invalid read of size 4
+Invalid read of size 1
+ at 0x........: main (partial_load.c:16)
+ Address 0x........ is 0 bytes after a block of size 7 alloc'd
+ at 0x........: calloc (vg_replace_malloc.c:...)
+ by 0x........: main (partial_load.c:14)
+
+Invalid read of size 8
at 0x........: main (partial_load.c:23)
- Address 0x........ is 1 bytes inside a block of size 4 alloc'd
+ Address 0x........ is 1 bytes inside a block of size 8 alloc'd
at 0x........: calloc (vg_replace_malloc.c:...)
by 0x........: main (partial_load.c:20)
@@ -11,9 +17,9 @@
at 0x........: calloc (vg_replace_malloc.c:...)
by 0x........: main (partial_load.c:28)
-Invalid read of size 4
+Invalid read of size 8
at 0x........: main (partial_load.c:37)
- Address 0x........ is 0 bytes inside a block of size 4 free'd
+ Address 0x........ is 0 bytes inside a block of size 8 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (partial_load.c:36)
@@ -25,4 +31,4 @@
For a detailed leak analysis, rerun with: --leak-check=full
For counts of detected and suppressed errors, rerun with: -v
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/memcheck/tests/partial_load_ok.stderr.diff64
=================================================
--- partial_load_ok.stderr.exp64 2012-10-26 22:21:49.000000000 -0400
+++ partial_load_ok.stderr.out 2012-10-26 22:32:33.000000000 -0400
@@ -1,4 +1,10 @@
+Invalid read of size 1
+ at 0x........: main (partial_load.c:16)
+ Address 0x........ is 0 bytes after a block of size 7 alloc'd
+ at 0x........: calloc (vg_replace_malloc.c:...)
+ by 0x........: main (partial_load.c:14)
+
Invalid read of size 8
at 0x........: main (partial_load.c:23)
Address 0x........ is 1 bytes inside a block of size 8 alloc'd
@@ -25,4 +31,4 @@
For a detailed leak analysis, rerun with: --leak-check=full
For counts of detected and suppressed errors, rerun with: -v
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/memcheck/tests/varinfo6.stderr.diff
=================================================
--- varinfo6.stderr.exp 2012-10-26 22:21:49.000000000 -0400
+++ varinfo6.stderr.out 2012-10-26 22:33:36.000000000 -0400
@@ -7,8 +7,7 @@
by 0x........: BZ2_bzCompress (varinfo6.c:4860)
by 0x........: BZ2_bzBuffToBuffCompress (varinfo6.c:5667)
by 0x........: main (varinfo6.c:6517)
- Location 0x........ is 2 bytes inside local var "budget"
- declared at varinfo6.c:3115, in frame #2 of thread 1
+ Address 0x........ is on thread 1's stack
Uninitialised byte(s) found during client check request
at 0x........: croak (varinfo6.c:34)
=================================================
./valgrind-old/memcheck/tests/varinfo6.stderr.diff-ppc64
=================================================
--- varinfo6.stderr.exp-ppc64 2012-10-26 22:21:49.000000000 -0400
+++ varinfo6.stderr.out 2012-10-26 22:33:36.000000000 -0400
@@ -1,5 +1,5 @@
Uninitialised byte(s) found during client check request
- at 0x........: croak (varinfo6.c:35)
+ at 0x........: croak (varinfo6.c:34)
by 0x........: mainSort (varinfo6.c:2999)
by 0x........: BZ2_blockSort (varinfo6.c:3143)
by 0x........: BZ2_compressBlock (varinfo6.c:4072)
@@ -10,7 +10,7 @@
Address 0x........ is on thread 1's stack
Uninitialised byte(s) found during client check request
- at 0x........: croak (varinfo6.c:35)
+ at 0x........: croak (varinfo6.c:34)
by 0x........: BZ2_decompress (varinfo6.c:1699)
by 0x........: BZ2_bzDecompress (varinfo6.c:5230)
by 0x........: BZ2_bzBuffToBuffDecompress (varinfo6.c:5715)
=================================================
./valgrind-old/none/tests/s390x/fpconv.stdout.diff
=================================================
--- fpconv.stdout.exp 2012-10-26 22:22:24.000000000 -0400
+++ fpconv.stdout.out 2012-10-26 22:35:47.000000000 -0400
@@ -35,137 +35,137 @@
"cdgbr" -9223372036854775808.000000
"cdgbr" 9223372036854775808.000000
"cxfbr" 0.000000
-"cxfbr" 1.000000
-"cxfbr" -1.000000
-"cxfbr" -2147483648.000000
-"cxfbr" 2147483647.000000
+"cxfbr" 1.937500
+"cxfbr" -1.937500
+"cxfbr" -7.500000
+"cxfbr" 7.500000
"cxfbr" 0.000000
-"cxfbr" -1.000000
+"cxfbr" -1.937500
"cxfbr" 0.000000
-"cxfbr" -1.000000
+"cxfbr" -1.937500
"cxgbr" 0.000000
-"cxgbr" 1.000000
-"cxgbr" 4294967295.000000
-"cxgbr" 2147483648.000000
-"cxgbr" 2147483647.000000
-"cxgbr" 4294967296.000000
-"cxgbr" -1.000000
-"cxgbr" -9223372036854775808.000000
-"cxgbr" 9223372036854775807.000000
-"cfebr" 4294967295 cc=1
-"cfebr" 0 cc=0
-"cfebr" 1 cc=2
-"cfebr" 1 cc=2
-"cfebr" 2 cc=2
-"cfebr" 2 cc=2
-"cfebr" 16000 cc=2
-"cfebr" 160000000 cc=2
-"cfebr" 2147483647 cc=3
-"cfebr" 2147483647 cc=3
-"cfebr" 2147483647 cc=3
-"cfebr" 2147483647 cc=3
-"cfebr" 0 cc=2
-"cfebr" 0 cc=2
-"cfebr" 2147483647 cc=3
-"cfebr" 0 cc=0
-"cfebr" 2147483647 cc=3
-"cfebr" 0 cc=0
-"cfebr" 2147483647 cc=3
-"cgebr" -1 cc=1
-"cgebr" 0 cc=0
-"cgebr" 1 cc=2
-"cgebr" 1 cc=2
-"cgebr" 2 cc=2
-"cgebr" 2 cc=2
-"cgebr" 16000 cc=2
-"cgebr" 160000000 cc=2
-"cgebr" 1599999967232 cc=2
-"cgebr" 9223372036854775807 cc=3
-"cgebr" 9223372036854775807 cc=3
-"cgebr" 9223372036854775807 cc=3
-"cgebr" 0 cc=2
-"cgebr" 0 cc=2
-"cgebr" 9223372036854775807 cc=3
-"cgebr" 0 cc=0
-"cgebr" 9223372036854775807 cc=3
-"cgebr" 0 cc=0
-"cgebr" 9223372036854775807 cc=3
-"cfdbr" 4294967295 cc=1
-"cfdbr" 0 cc=0
-"cfdbr" 1 cc=2
-"cfdbr" 1 cc=2
-"cfdbr" 2 cc=2
-"cfdbr" 2 cc=2
-"cfdbr" 16000 cc=2
-"cfdbr" 160000000 cc=2
-"cfdbr" 2147483647 cc=3
-"cfdbr" 2147483647 cc=3
-"cfdbr" 2147483647 cc=3
-"cfdbr" 2147483647 cc=3
-"cfdbr" 0 cc=2
-"cfdbr" 0 cc=2
-"cfdbr" 2147483647 cc=3
-"cfdbr" 0 cc=2
-"cfdbr" 2147483647 cc=3
-"cfdbr" 0 cc=0
-"cfdbr" 2147483647 cc=3
-"cgdbr" -1 cc=1
-"cgdbr" 0 cc=0
-"cgdbr" 1 cc=2
-"cgdbr" 1 cc=2
-"cgdbr" 2 cc=2
-"cgdbr" 2 cc=2
-"cgdbr" 16000 cc=2
-"cgdbr" 160000000 cc=2
-"cgdbr" 1600000000000 cc=2
-"cgdbr" 9223372036854775807 cc=3
-"cgdbr" 9223372036854775807 cc=3
-"cgdbr" 9223372036854775807 cc=3
-"cgdbr" 0 cc=2
-"cgdbr" 0 cc=2
<truncated beyond 100 lines>
|
|
From: Tom H. <to...@co...> - 2012-10-27 02:58:17
|
valgrind revision: 13084 VEX revision: 2556 C compiler: gcc (GCC) 4.4.1 20090725 (Red Hat 4.4.1-2) Assembler: GNU assembler version 2.19.51.0.14-3.fc11 20090722 C library: GNU C Library stable release version 2.10.2 uname -mrs: Linux 3.5.3-1.fc17.x86_64 x86_64 Vendor version: Fedora release 11 (Leonidas) Nightly build on bristol ( x86_64, Fedora 11 ) Started at 2012-10-27 03:31:15 BST Ended at 2012-10-27 03:57:57 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 == 613 tests, 1 stderr failure, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/long_namespace_xml (stderr) none/tests/amd64/sse4-64 (stdout) |
|
From: Rich C. <rc...@wi...> - 2012-10-27 02:55:18
|
valgrind revision: 13084
VEX revision: 2556
C compiler: gcc (SUSE Linux) 4.5.1 20101208 [gcc-4_5-branch revision 167585]
Assembler: GNU assembler (GNU Binutils; openSUSE 11.4) 2.21
C library: GNU C Library stable release version 2.11.3 (20110203)
uname -mrs: Linux 2.6.37.6-0.7-desktop x86_64
Vendor version: Welcome to openSUSE 11.4 "Celadon" - Kernel %r (%t).
Nightly build on ultra ( gcc 4.5.1 Linux 2.6.37.6-0.7-desktop x86_64 )
Started at 2012-10-26 21:30:01 CDT
Ended at 2012-10-26 21:55:08 CDT
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
== 624 tests, 2 stderr failures, 0 stdout failures, 6 stderrB failures, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/mcbreak (stderrB)
gdbserver_tests/mcclean_after_fork (stderrB)
gdbserver_tests/mcleak (stderrB)
gdbserver_tests/mcmain_pic (stderrB)
gdbserver_tests/mcvabits (stderrB)
gdbserver_tests/mssnapshot (stderrB)
memcheck/tests/linux/timerfd-syscall (stderr)
memcheck/tests/origin5-bz2 (stderr)
=================================================
./valgrind-new/gdbserver_tests/mcbreak.stderrB.diff
=================================================
--- mcbreak.stderrB.exp 2012-10-26 21:42:55.912009371 -0500
+++ mcbreak.stderrB.out 2012-10-26 21:46:03.223744056 -0500
@@ -1,5 +1,7 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+
+
vgdb-error value changed from 999999 to 0
n_errs_found 1 n_errs_shown 1 (vgdb-error 0)
vgdb-error value changed from 0 to 0
=================================================
./valgrind-new/gdbserver_tests/mcclean_after_fork.stderrB.diff
=================================================
--- mcclean_after_fork.stderrB.exp 2012-10-26 21:42:55.912009371 -0500
+++ mcclean_after_fork.stderrB.out 2012-10-26 21:46:04.925941566 -0500
@@ -1,4 +1,6 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+
+
monitor command request to kill this process
Remote connection closed
=================================================
./valgrind-new/gdbserver_tests/mcleak.stderrB.diff
=================================================
--- mcleak.stderrB.exp 2012-10-26 21:42:55.907008791 -0500
+++ mcleak.stderrB.out 2012-10-26 21:46:23.221064386 -0500
@@ -1,5 +1,7 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+
+
10 bytes in 1 blocks are still reachable in loss record ... of ...
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: f (leak-delta.c:14)
=================================================
./valgrind-new/gdbserver_tests/mcmain_pic.stderrB.diff
=================================================
--- mcmain_pic.stderrB.exp 2012-10-26 21:42:55.916009835 -0500
+++ mcmain_pic.stderrB.out 2012-10-26 21:46:24.827250754 -0500
@@ -1,2 +1,4 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+
+
=================================================
./valgrind-new/gdbserver_tests/mcvabits.stderrB.diff
=================================================
--- mcvabits.stderrB.exp 2012-10-26 21:42:55.918010069 -0500
+++ mcvabits.stderrB.out 2012-10-26 21:46:29.574801619 -0500
@@ -1,5 +1,7 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+
+
Address 0x........ len 10 addressable
Address 0x........ is 0 bytes inside data symbol "undefined"
Address 0x........ len 10 defined
=================================================
./valgrind-new/gdbserver_tests/mssnapshot.stderrB.diff
=================================================
--- mssnapshot.stderrB.exp 2012-10-26 21:42:55.916009835 -0500
+++ mssnapshot.stderrB.out 2012-10-26 21:46:32.634156601 -0500
@@ -1,5 +1,9 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+
+
+Missing separate debuginfo for /lib64/libc.so.6
+Try: zypper install -C "debuginfo(build-id)=92ec8fe859846a62345f74696ab349721415587a"
general valgrind monitor commands:
help [debug] : monitor command help. With debug: + debugging commands
v.wait [<ms>] : sleep <ms> (default 0) then continue
=================================================
./valgrind-new/memcheck/tests/linux/timerfd-syscall.stderr.diff
=================================================
--- timerfd-syscall.stderr.exp 2012-10-26 21:42:56.188041401 -0500
+++ timerfd-syscall.stderr.out 2012-10-26 21:47:42.280237679 -0500
@@ -33,7 +33,7 @@
got timer ticks (1) after 0.5 s
absolute timer test (at 500 ms) ...
waiting timer ...
-got timer ticks (1) after 0.5 s
+got timer ticks (1) after 0.0 s
sequential timer test (100 ms clock) ...
sleeping one second ...
timerfd_gettime returned:
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc212-s390x
=================================================
--- origin5-bz2.stderr.exp-glibc212-s390x 2012-10-26 21:42:56.649094901 -0500
+++ origin5-bz2.stderr.out 2012-10-26 21:47:57.787036924 -0500
@@ -75,17 +75,6 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
- at 0x........: mainSort (origin5-bz2.c:2859)
- by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
- by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
- by 0x........: handle_compress (origin5-bz2.c:4753)
- by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
- by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
- by 0x........: main (origin5-bz2.c:6484)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
-
-Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2963)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -131,6 +120,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: g_serviceFn (origin5-bz2.c:6429)
+ by 0x........: default_bzalloc (origin5-bz2.c:4470)
+ by 0x........: BZ2_decompress (origin5-bz2.c:1578)
+ by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192)
+ by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678)
+ by 0x........: main (origin5-bz2.c:6498)
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc234-s390x
=================================================
--- origin5-bz2.stderr.exp-glibc234-s390x 2012-10-26 21:42:56.628092465 -0500
+++ origin5-bz2.stderr.out 2012-10-26 21:47:57.787036924 -0500
@@ -120,6 +120,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: g_serviceFn (origin5-bz2.c:6429)
+ by 0x........: default_bzalloc (origin5-bz2.c:4470)
+ by 0x........: BZ2_decompress (origin5-bz2.c:1578)
+ by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192)
+ by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678)
+ by 0x........: main (origin5-bz2.c:6498)
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc25-amd64
=================================================
--- origin5-bz2.stderr.exp-glibc25-amd64 2012-10-26 21:42:56.560084573 -0500
+++ origin5-bz2.stderr.out 2012-10-26 21:47:57.787036924 -0500
@@ -120,6 +120,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: g_serviceFn (origin5-bz2.c:6429)
+ by 0x........: default_bzalloc (origin5-bz2.c:4470)
+ by 0x........: BZ2_decompress (origin5-bz2.c:1578)
+ by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192)
+ by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678)
+ by 0x........: main (origin5-bz2.c:6498)
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc25-x86
=================================================
--- origin5-bz2.stderr.exp-glibc25-x86 2012-10-26 21:42:56.596088751 -0500
+++ origin5-bz2.stderr.out 2012-10-26 21:47:57.787036924 -0500
@@ -12,7 +12,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
by 0x........: handle_compress (origin5-bz2.c:4750)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -21,7 +21,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
by 0x........: handle_compress (origin5-bz2.c:4750)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -30,7 +30,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2820)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -41,7 +41,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2823)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -52,7 +52,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2854)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -63,7 +63,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2858)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -74,7 +74,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2963)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -85,7 +85,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2964)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -96,7 +96,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: fallbackSort (origin5-bz2.c:2269)
by 0x........: BZ2_blockSort (origin5-bz2.c:3116)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -107,7 +107,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: fallbackSort (origin5-bz2.c:2275)
by 0x........: BZ2_blockSort (origin5-bz2.c:3116)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -120,6 +120,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc27-ppc64
=================================================
--- origin5-bz2.stderr.exp-glibc27-ppc64 2012-10-26 21:42:56.612090607 -0500
+++ origin5-bz2.stderr.out 2012-10-26 21:47:57.787036924 -0500
@@ -1,7 +1,7 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6481)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Conditional jump or move depends on uninitialised value(s)
at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
@@ -10,7 +10,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
@@ -19,7 +19,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
@@ -28,7 +28,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2820)
@@ -39,7 +39,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2823)
@@ -50,7 +50,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2854)
@@ -61,7 +61,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2858)
@@ -72,7 +72,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2963)
@@ -83,7 +83,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2964)
@@ -94,7 +94,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: fallbackSort (origin5-bz2.c:2269)
@@ -105,7 +105,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
<truncated beyond 100 lines>
=================================================
./valgrind-old/gdbserver_tests/mcbreak.stderrB.diff
=================================================
--- mcbreak.stderrB.exp 2012-10-26 21:30:16.299869073 -0500
+++ mcbreak.stderrB.out 2012-10-26 21:33:45.742164697 -0500
@@ -1,5 +1,7 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+
+
vgdb-error value changed from 999999 to 0
n_errs_found 1 n_errs_shown 1 (vgdb-error 0)
vgdb-error value changed from 0 to 0
=================================================
./valgrind-old/gdbserver_tests/mcclean_after_fork.stderrB.diff
=================================================
--- mcclean_after_fork.stderrB.exp 2012-10-26 21:30:16.299869073 -0500
+++ mcclean_after_fork.stderrB.out 2012-10-26 21:33:47.458363869 -0500
@@ -1,4 +1,6 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+
+
monitor command request to kill this process
Remote connection closed
=================================================
./valgrind-old/gdbserver_tests/mcleak.stderrB.diff
=================================================
--- mcleak.stderrB.exp 2012-10-26 21:30:16.295868609 -0500
+++ mcleak.stderrB.out 2012-10-26 21:34:05.897503793 -0500
@@ -1,5 +1,7 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+
+
10 bytes in 1 blocks are still reachable in loss record ... of ...
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: f (leak-delta.c:14)
=================================================
./valgrind-old/gdbserver_tests/mcmain_pic.stderrB.diff
=================================================
--- mcmain_pic.stderrB.exp 2012-10-26 21:30:16.303869537 -0500
+++ mcmain_pic.stderrB.out 2012-10-26 21:34:07.503690195 -0500
@@ -1,2 +1,4 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+
+
=================================================
./valgrind-old/gdbserver_tests/mcvabits.stderrB.diff
=================================================
--- mcvabits.stderrB.exp 2012-10-26 21:30:16.304869653 -0500
+++ mcvabits.stderrB.out 2012-10-26 21:34:12.250241049 -0500
@@ -1,5 +1,7 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+
+
Address 0x........ len 10 addressable
Address 0x........ is 0 bytes inside data symbol "undefined"
Address 0x........ len 10 defined
=================================================
./valgrind-old/gdbserver_tests/mssnapshot.stderrB.diff
=================================================
--- mssnapshot.stderrB.exp 2012-10-26 21:30:16.303869537 -0500
+++ mssnapshot.stderrB.out 2012-10-26 21:34:15.323597720 -0500
@@ -1,5 +1,9 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+
+
+Missing separate debuginfo for /lib64/libc.so.6
+Try: zypper install -C "debuginfo(build-id)=92ec8fe859846a62345f74696ab349721415587a"
general valgrind monitor commands:
help [debug] : monitor command help. With debug: + debugging commands
v.wait [<ms>] : sleep <ms> (default 0) then continue
=================================================
./valgrind-old/memcheck/tests/linux/timerfd-syscall.stderr.diff
=================================================
--- timerfd-syscall.stderr.exp 2012-10-26 21:30:20.704379777 -0500
+++ timerfd-syscall.stderr.out 2012-10-26 21:35:25.939792850 -0500
@@ -33,7 +33,7 @@
got timer ticks (1) after 0.5 s
absolute timer test (at 500 ms) ...
waiting timer ...
-got timer ticks (1) after 0.5 s
+got timer ticks (1) after 0.0 s
sequential timer test (100 ms clock) ...
sleeping one second ...
timerfd_gettime returned:
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc212-s390x
=================================================
--- origin5-bz2.stderr.exp-glibc212-s390x 2012-10-26 21:30:21.174434281 -0500
+++ origin5-bz2.stderr.out 2012-10-26 21:35:41.329578840 -0500
@@ -75,17 +75,6 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
- at 0x........: mainSort (origin5-bz2.c:2859)
- by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
- by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
- by 0x........: handle_compress (origin5-bz2.c:4753)
- by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
- by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
- by 0x........: main (origin5-bz2.c:6484)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
-
-Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2963)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -131,6 +120,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: g_serviceFn (origin5-bz2.c:6429)
+ by 0x........: default_bzalloc (origin5-bz2.c:4470)
+ by 0x........: BZ2_decompress (origin5-bz2.c:1578)
+ by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192)
+ by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678)
+ by 0x........: main (origin5-bz2.c:6498)
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc234-s390x
=================================================
--- origin5-bz2.stderr.exp-glibc234-s390x 2012-10-26 21:30:21.157432309 -0500
+++ origin5-bz2.stderr.out 2012-10-26 21:35:41.329578840 -0500
@@ -120,6 +120,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: g_serviceFn (origin5-bz2.c:6429)
+ by 0x........: default_bzalloc (origin5-bz2.c:4470)
+ by 0x........: BZ2_decompress (origin5-bz2.c:1578)
+ by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192)
+ by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678)
+ by 0x........: main (origin5-bz2.c:6498)
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc25-amd64
=================================================
--- origin5-bz2.stderr.exp-glibc25-amd64 2012-10-26 21:30:21.100425699 -0500
+++ origin5-bz2.stderr.out 2012-10-26 21:35:41.329578840 -0500
@@ -120,6 +120,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: g_serviceFn (origin5-bz2.c:6429)
+ by 0x........: default_bzalloc (origin5-bz2.c:4470)
+ by 0x........: BZ2_decompress (origin5-bz2.c:1578)
+ by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192)
+ by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678)
+ by 0x........: main (origin5-bz2.c:6498)
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc25-x86
=================================================
--- origin5-bz2.stderr.exp-glibc25-x86 2012-10-26 21:30:21.130429179 -0500
+++ origin5-bz2.stderr.out 2012-10-26 21:35:41.329578840 -0500
@@ -12,7 +12,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
by 0x........: handle_compress (origin5-bz2.c:4750)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -21,7 +21,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
by 0x........: handle_compress (origin5-bz2.c:4750)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -30,7 +30,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2820)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -41,7 +41,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2823)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -52,7 +52,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2854)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -63,7 +63,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2858)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -74,7 +74,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2963)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -85,7 +85,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2964)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -96,7 +96,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: fallbackSort (origin5-bz2.c:2269)
by 0x........: BZ2_blockSort (origin5-bz2.c:3116)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -107,7 +107,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: fallbackSort (origin5-bz2.c:2275)
by 0x........: BZ2_blockSort (origin5-bz2.c:3116)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -120,6 +120,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
<truncated beyond 100 lines>
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc27-ppc64
=================================================
--- origin5-bz2.stderr.exp-glibc27-ppc64 2012-10-26 21:30:21.143430685 -0500
+++ origin5-bz2.stderr.out 2012-10-26 21:35:41.329578840 -0500
@@ -1,7 +1,7 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6481)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Conditional jump or move depends on uninitialised value(s)
at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
@@ -10,7 +10,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
@@ -19,7 +19,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
@@ -28,7 +28,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2820)
@@ -39,7 +39,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2823)
@@ -50,7 +50,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2854)
@@ -61,7 +61,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2858)
@@ -72,7 +72,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2963)
@@ -83,7 +83,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2964)
@@ -94,7 +94,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: fallbackSort (origin5-bz2.c:2269)
@@ -105,7 +105,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
<truncated beyond 100 lines>
|
|
From: Tom H. <to...@co...> - 2012-10-27 02:54:59
|
valgrind revision: 13084 VEX revision: 2556 C compiler: gcc (GCC) 4.4.5 20101112 (Red Hat 4.4.5-2) Assembler: GNU assembler version 2.20.51.0.2-20.fc13 20091009 C library: GNU C Library stable release version 2.12.2 uname -mrs: Linux 3.5.3-1.fc17.x86_64 x86_64 Vendor version: Fedora release 13 (Goddard) Nightly build on bristol ( x86_64, Fedora 13 ) Started at 2012-10-27 03:23:10 BST Ended at 2012-10-27 03:54:46 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 == 613 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == helgrind/tests/pth_barrier3 (stderr) |
|
From: Tom H. <to...@co...> - 2012-10-27 02:45:04
|
valgrind revision: 13084 VEX revision: 2556 C compiler: gcc (GCC) 4.5.1 20100924 (Red Hat 4.5.1-4) Assembler: GNU assembler version 2.20.51.0.7-8.fc14 20100318 C library: GNU C Library stable release version 2.13 uname -mrs: Linux 3.5.3-1.fc17.x86_64 x86_64 Vendor version: Fedora release 14 (Laughlin) Nightly build on bristol ( x86_64, Fedora 14 ) Started at 2012-10-27 03:12:01 BST Ended at 2012-10-27 03:44:50 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 == 631 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/origin5-bz2 (stderr) |
|
From: Tom H. <to...@co...> - 2012-10-27 02:37:57
|
valgrind revision: 13084 VEX revision: 2556 C compiler: gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2) Assembler: GNU assembler version 2.21.51.0.6-6.fc15 20110118 C library: GNU C Library stable release version 2.14.1 uname -mrs: Linux 3.5.3-1.fc17.x86_64 x86_64 Vendor version: Fedora release 15 (Lovelock) Nightly build on bristol ( x86_64, Fedora 15 ) Started at 2012-10-27 03:02:59 BST Ended at 2012-10-27 03:37:44 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 == 633 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/origin5-bz2 (stderr) |
|
From: Tom H. <to...@co...> - 2012-10-27 02:25:34
|
valgrind revision: 13084 VEX revision: 2556 C compiler: gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2) Assembler: GNU assembler version 2.21.53.0.1-6.fc16 20110716 C library: GNU C Library development release version 2.14.90 uname -mrs: Linux 3.5.3-1.fc17.x86_64 x86_64 Vendor version: Fedora release 16 (Verne) Nightly build on bristol ( x86_64, Fedora 16 ) Started at 2012-10-27 02:52:20 BST Ended at 2012-10-27 03:25:17 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 == 633 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/origin5-bz2 (stderr) |
|
From: Tom H. <to...@co...> - 2012-10-27 02:14:37
|
valgrind revision: 13084 VEX revision: 2556 C compiler: gcc (GCC) 4.7.2 20120921 (Red Hat 4.7.2-2) Assembler: GNU assembler version 2.22.52.0.1-10.fc17 20120131 C library: GNU C Library stable release version 2.15 uname -mrs: Linux 3.5.3-1.fc17.x86_64 x86_64 Vendor version: Fedora release 17 (Beefy Miracle) Nightly build on bristol ( x86_64, Fedora 17 (Beefy Miracle) ) Started at 2012-10-27 02:41:31 BST Ended at 2012-10-27 03:14:22 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 == 633 tests, 5 stderr failures, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures == gdbserver_tests/mcinfcallRU (stderr) gdbserver_tests/mcinfcallWSRU (stderr) gdbserver_tests/mcmain_pic (stderr) memcheck/tests/origin5-bz2 (stderr) exp-sgcheck/tests/preen_invars (stdout) exp-sgcheck/tests/preen_invars (stderr) |
|
From: Christian B. <bor...@de...> - 2012-10-27 02:13:34
|
valgrind revision: 13084 VEX revision: 2556 C compiler: gcc (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973] Assembler: GNU assembler (GNU Binutils; SUSE Linux Enterprise 11) 2.21.1 C library: GNU C Library stable release version 2.11.3 (20110527) uname -mrs: Linux 3.0.38-0.5-default s390x Vendor version: Welcome to SUSE Linux Enterprise Server 11 SP2 (s390x) - Kernel %r (%t). Nightly build on sless390 ( SUSE Linux Enterprise Server 11 SP1 gcc 4.3.4 on z196 (s390x) ) Started at 2012-10-27 03:45:01 CEST Ended at 2012-10-27 04:13:22 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 == 607 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == helgrind/tests/tc20_verifywrap (stderr) |
|
From: Christian B. <bor...@de...> - 2012-10-27 02:06:24
|
valgrind revision: 13084 VEX revision: 2556 C compiler: gcc (GCC) 4.6.1 20110908 (Red Hat 4.6.1-9bb4) Assembler: GNU assembler version 2.21.51.0.6-6bb6.fc15 20110118 C library: GNU C Library stable release version 2.14.1 uname -mrs: Linux 3.6.1-56.x.20121010-s390xperformance s390x Vendor version: unknown Nightly build on fedora390 ( Fedora 15 with devel libc/toolchain on z196 (s390x) ) Started at 2012-10-27 03:45:01 CEST Ended at 2012-10-27 04:06:31 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 == 608 tests, 2 stderr failures, 0 stdout failures, 6 stderrB failures, 0 stdoutB failures, 0 post failures == gdbserver_tests/mcbreak (stderrB) gdbserver_tests/mcclean_after_fork (stderrB) gdbserver_tests/mcleak (stderrB) gdbserver_tests/mcmain_pic (stderrB) gdbserver_tests/mcvabits (stderrB) gdbserver_tests/mssnapshot (stderrB) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) |
|
From: Tom H. <to...@co...> - 2012-10-27 02:05:01
|
valgrind revision: 13084 VEX revision: 2556 C compiler: gcc (GCC) 4.7.2 20121001 (Red Hat 4.7.2-3) Assembler: GNU assembler version 2.23.51.0.1-3.fc18 20120806 C library: GNU C Library stable release version 2.16 uname -mrs: Linux 3.5.3-1.fc17.x86_64 x86_64 Vendor version: Fedora release 18 (Spherical Cow) Nightly build on bristol ( x86_64, Fedora 18 (Spherical Cow) ) Started at 2012-10-27 02:31:37 BST Ended at 2012-10-27 03:04:46 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 == 633 tests, 2 stderr failures, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/origin5-bz2 (stderr) exp-sgcheck/tests/preen_invars (stdout) exp-sgcheck/tests/preen_invars (stderr) |
|
From: Tom H. <to...@co...> - 2012-10-27 01:49:58
|
valgrind revision: 13084 VEX revision: 2556 C compiler: gcc (GCC) 4.7.2 20121015 (Red Hat 4.7.2-6) Assembler: GNU assembler version 2.23.51.0.3-3.fc19 20120918 C library: GNU C Library development release version 2.16.90 uname -mrs: Linux 3.5.3-1.fc17.x86_64 x86_64 Vendor version: Fedora release 19 (Rawhide) Nightly build on bristol ( x86_64, Fedora 19 ) Started at 2012-10-27 02:22:13 BST Ended at 2012-10-27 02:49:43 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 == 633 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/origin5-bz2 (stderr) |