|
From: <sv...@va...> - 2005-12-26 17:50:28
|
Author: njn
Date: 2005-12-26 17:50:22 +0000 (Mon, 26 Dec 2005)
New Revision: 5440
Log:
code layout wibbles only
Modified:
trunk/coregrind/m_mallocfree.c
Modified: trunk/coregrind/m_mallocfree.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_mallocfree.c 2005-12-26 03:54:49 UTC (rev 5439)
+++ trunk/coregrind/m_mallocfree.c 2005-12-26 17:50:22 UTC (rev 5440)
@@ -437,7 +437,7 @@
{
static Bool client_inited =3D False;
static Bool nonclient_inited =3D False;
- static SizeT client_redzone_szB =3D 8; // default: be paranoid
+ static SizeT client_rz_szB =3D 8; // default: be paranoid
=20
/* We use checked red zones (of various sizes) for our internal stuff=
,
and an unchecked zone of arbitrary size for the client. Of
@@ -458,23 +458,23 @@
// redzone size with VG_(needs_malloc_replacement)() after this=
module
// has done its first allocation from the client arena.
if (VG_(needs).malloc_replacement)
- vg_assert(client_redzone_szB =3D=3D VG_(tdict).tool_client_r=
edzone_szB);
+ vg_assert(client_rz_szB =3D=3D VG_(tdict).tool_client_redzon=
e_szB);
return;
}
=20
// Check and set the client arena redzone size
if (VG_(needs).malloc_replacement) {
- client_redzone_szB =3D VG_(tdict).tool_client_redzone_szB;
+ client_rz_szB =3D VG_(tdict).tool_client_redzone_szB;
// 128 is no special figure, just something not too big
- if (client_redzone_szB > 128) {
+ if (client_rz_szB > 128) {
VG_(printf)( "\nTool error:\n"
" specified redzone size is too big (%llu)\n",=
=20
- (ULong)client_redzone_szB);
+ (ULong)client_rz_szB);
VG_(exit)(1);
}
}
// Initialise the client arena
- arena_init ( VG_AR_CLIENT, "client", client_redzone_szB, 1048=
576 );
+ arena_init ( VG_AR_CLIENT, "client", client_rz_szB, 1048576 )=
;
client_inited =3D True;
=20
} else {
@@ -482,13 +482,13 @@
return;
}
// Initialise the non-client arenas
- arena_init ( VG_AR_CORE, "core", 4, CORE_ARENA_MIN_=
SZB );
- arena_init ( VG_AR_TOOL, "tool", 4, 1048=
576 );
- arena_init ( VG_AR_SYMTAB, "symtab", 4, 1048=
576 );
- arena_init ( VG_AR_DEMANGLE, "demangle", 4, 65=
536 );
- arena_init ( VG_AR_EXECTXT, "exectxt", 4, 262=
144 );
- arena_init ( VG_AR_ERRORS, "errors", 4, 65=
536 );
- arena_init ( VG_AR_TTAUX, "ttaux", 4, 65=
536 );
+ arena_init ( VG_AR_CORE, "core", 4, 1048576 )=
;
+ arena_init ( VG_AR_TOOL, "tool", 4, 1048576 )=
;
+ arena_init ( VG_AR_SYMTAB, "symtab", 4, 1048576 )=
;
+ arena_init ( VG_AR_DEMANGLE, "demangle", 4, 65536 )=
;
+ arena_init ( VG_AR_EXECTXT, "exectxt", 4, 262144 )=
;
+ arena_init ( VG_AR_ERRORS, "errors", 4, 65536 )=
;
+ arena_init ( VG_AR_TTAUX, "ttaux", 4, 65536 )=
;
nonclient_inited =3D True;
}
=20
|