|
From: <sv...@va...> - 2005-07-24 07:00:49
|
Author: sewardj
Date: 2005-07-24 08:00:45 +0100 (Sun, 24 Jul 2005)
New Revision: 4237
Log:
Rename --smc-support=3D to --smc-check=3D.
Modified:
trunk/coregrind/m_main.c
trunk/coregrind/m_options.c
trunk/coregrind/m_translate.c
trunk/coregrind/pub_core_options.h
trunk/none/tests/amd64/smc1.vgtest
trunk/none/tests/cmdline1.stdout.exp
trunk/none/tests/cmdline2.stdout.exp
trunk/none/tests/x86/smc1.vgtest
Modified: trunk/coregrind/m_main.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_main.c 2005-07-24 06:44:27 UTC (rev 4236)
+++ trunk/coregrind/m_main.c 2005-07-24 07:00:45 UTC (rev 4237)
@@ -1270,8 +1270,8 @@
" --pointercheck=3Dno|yes enforce client address space limits [ye=
s]\n"
" --support-elan3=3Dno|yes hacks for Quadrics Elan3 support [no]\n=
"
" --show-emwarns=3Dno|yes show warnings about emulation limits? [=
no]\n"
-" --smc-support=3Dnone|stack|all support for self-modifying code:\n=
"
-" none, for code found in stacks, or all [s=
tack]\n"
+" --smc-check=3Dnone|stack|all checks for self-modifying code: none,=
\n"
+" only for code found in stacks, or all [st=
ack]\n"
"\n"
" user options for Valgrind tools that report errors:\n"
" --xml=3Dyes all output is in XML (Memcheck only)\n"
@@ -1509,12 +1509,12 @@
else VG_BNUM_CLO(arg, "--num-callers", VG_(clo_backtrace_size=
), 1,
VG_DEEPEST_BACKTRACE)
=20
- else if (VG_CLO_STREQ(arg, "--smc-support=3Dnone"))
- VG_(clo_smc_support) =3D Vg_SmcNone;
- else if (VG_CLO_STREQ(arg, "--smc-support=3Dstack"))
- VG_(clo_smc_support) =3D Vg_SmcStack;
- else if (VG_CLO_STREQ(arg, "--smc-support=3Dall"))
- VG_(clo_smc_support) =3D Vg_SmcAll;
+ else if (VG_CLO_STREQ(arg, "--smc-check=3Dnone"))
+ VG_(clo_smc_check) =3D Vg_SmcNone;
+ else if (VG_CLO_STREQ(arg, "--smc-check=3Dstack"))
+ VG_(clo_smc_check) =3D Vg_SmcStack;
+ else if (VG_CLO_STREQ(arg, "--smc-check=3Dall"))
+ VG_(clo_smc_check) =3D Vg_SmcAll;
=20
else VG_BNUM_CLO(arg, "--vex-iropt-verbosity",
VG_(clo_vex_control).iropt_verbosity, 0, 10)
Modified: trunk/coregrind/m_options.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_options.c 2005-07-24 06:44:27 UTC (rev 4236)
+++ trunk/coregrind/m_options.c 2005-07-24 07:00:45 UTC (rev 4237)
@@ -78,7 +78,7 @@
Bool VG_(clo_show_emwarns) =3D False;
Int VG_(clo_max_stackframe) =3D 2000000;
Bool VG_(clo_wait_for_gdb) =3D False;
-VgSmc VG_(clo_smc_support) =3D Vg_SmcStack;
+VgSmc VG_(clo_smc_check) =3D Vg_SmcStack;
=20
=20
/*--------------------------------------------------------------------*/
Modified: trunk/coregrind/m_translate.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_translate.c 2005-07-24 06:44:27 UTC (rev 4236)
+++ trunk/coregrind/m_translate.c 2005-07-24 07:00:45 UTC (rev 4237)
@@ -392,13 +392,13 @@
Addr addr =3D (Addr)addr64;
=20
/* All chasing disallowed if all bbs require self-checks. */
- if (VG_(clo_smc_support) =3D=3D Vg_SmcAll)
+ if (VG_(clo_smc_check) =3D=3D Vg_SmcAll)
goto dontchase;
=20
/* AAABBBCCC: if default self-checks are in force, reject if we
would choose to have a self-check for the dest. Note, this must
match the logic at XXXYYYZZZ below. */
- if (VG_(clo_smc_support) =3D=3D Vg_SmcStack) {
+ if (VG_(clo_smc_check) =3D=3D Vg_SmcStack) {
Segment* seg =3D VG_(find_segment)(addr);
if (seg && (seg->flags & SF_GROWDOWN))
goto dontchase;
@@ -533,14 +533,14 @@
=20
/* Do we want a self-checking translation? */
do_self_check =3D False;
- switch (VG_(clo_smc_support)) {
+ switch (VG_(clo_smc_check)) {
case Vg_SmcNone: do_self_check =3D False; break;
case Vg_SmcAll: do_self_check =3D True; break;
case Vg_SmcStack:=20
/* XXXYYYZZZ: must match the logic at AAABBBCCC above */
do_self_check =3D seg ? toBool(seg->flags & SF_GROWDOWN) : Fals=
e;
break;
- default: vg_assert2(0, "unknown VG_(clo_smc_support) value");
+ default: vg_assert2(0, "unknown VG_(clo_smc_check) value");
}
=20
/* True if a debug trans., or if bit N set in VG_(clo_trace_codegen).=
*/
Modified: trunk/coregrind/pub_core_options.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/pub_core_options.h 2005-07-24 06:44:27 UTC (rev 4236)
+++ trunk/coregrind/pub_core_options.h 2005-07-24 07:00:45 UTC (rev 4237)
@@ -171,7 +171,7 @@
}=20
VgSmc;
=20
-extern VgSmc VG_(clo_smc_support);
+extern VgSmc VG_(clo_smc_check);
=20
=20
#endif // __PUB_CORE_OPTIONS_H
Modified: trunk/none/tests/amd64/smc1.vgtest
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/none/tests/amd64/smc1.vgtest 2005-07-24 06:44:27 UTC (rev 4236)
+++ trunk/none/tests/amd64/smc1.vgtest 2005-07-24 07:00:45 UTC (rev 4237)
@@ -1,2 +1,2 @@
prog: smc1
-vgopts: --smc-support=3Dall
+vgopts: --smc-check=3Dall
Modified: trunk/none/tests/cmdline1.stdout.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/none/tests/cmdline1.stdout.exp 2005-07-24 06:44:27 UTC (rev 423=
6)
+++ trunk/none/tests/cmdline1.stdout.exp 2005-07-24 07:00:45 UTC (rev 423=
7)
@@ -17,8 +17,8 @@
--pointercheck=3Dno|yes enforce client address space limits [yes=
]
--support-elan3=3Dno|yes hacks for Quadrics Elan3 support [no]
--show-emwarns=3Dno|yes show warnings about emulation limits? [n=
o]
- --smc-support=3Dnone|stack|all support for self-modifying code:
- none, for code found in stacks, or all [st=
ack]
+ --smc-check=3Dnone|stack|all checks for self-modifying code: none,
+ only for code found in stacks, or all [sta=
ck]
=20
user options for Valgrind tools that report errors:
--xml=3Dyes all output is in XML (Memcheck only)
Modified: trunk/none/tests/cmdline2.stdout.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/none/tests/cmdline2.stdout.exp 2005-07-24 06:44:27 UTC (rev 423=
6)
+++ trunk/none/tests/cmdline2.stdout.exp 2005-07-24 07:00:45 UTC (rev 423=
7)
@@ -17,8 +17,8 @@
--pointercheck=3Dno|yes enforce client address space limits [yes=
]
--support-elan3=3Dno|yes hacks for Quadrics Elan3 support [no]
--show-emwarns=3Dno|yes show warnings about emulation limits? [n=
o]
- --smc-support=3Dnone|stack|all support for self-modifying code:
- none, for code found in stacks, or all [st=
ack]
+ --smc-check=3Dnone|stack|all checks for self-modifying code: none,
+ only for code found in stacks, or all [sta=
ck]
=20
user options for Valgrind tools that report errors:
--xml=3Dyes all output is in XML (Memcheck only)
Modified: trunk/none/tests/x86/smc1.vgtest
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/none/tests/x86/smc1.vgtest 2005-07-24 06:44:27 UTC (rev 4236)
+++ trunk/none/tests/x86/smc1.vgtest 2005-07-24 07:00:45 UTC (rev 4237)
@@ -1,2 +1,2 @@
prog: smc1
-vgopts: --smc-support=3Dall
+vgopts: --smc-check=3Dall
|