summaryrefslogtreecommitdiff
path: root/memcheck/mc_main.c
diff options
context:
space:
mode:
authorsewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9>2006-02-12 15:42:20 +0000
committersewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9>2006-02-12 15:42:20 +0000
commitf5c8e37a8181cce9fd4681e68096e6e572882f9f (patch)
treeb76640b2f3342ddd6a5d542501ab0ef194da39ec /memcheck/mc_main.c
parent1ecb5409ee53a7c085fdbb744108e39dc4df6c70 (diff)
Extend stack-permissions-change fast-case machinery to handle +/- 112,
128, 144 and 160. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5640 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'memcheck/mc_main.c')
-rw-r--r--memcheck/mc_main.c34
1 files changed, 21 insertions, 13 deletions
diff --git a/memcheck/mc_main.c b/memcheck/mc_main.c
index 99084955..ec51703d 100644
--- a/memcheck/mc_main.c
+++ b/memcheck/mc_main.c
@@ -2713,19 +2713,27 @@ static void mc_pre_clo_init(void)
VG_(track_die_mem_brk) ( & mc_make_noaccess );
VG_(track_die_mem_munmap) ( & mc_make_noaccess );
- VG_(track_new_mem_stack_4) ( & MAC_(new_mem_stack_4) );
- VG_(track_new_mem_stack_8) ( & MAC_(new_mem_stack_8) );
- VG_(track_new_mem_stack_12) ( & MAC_(new_mem_stack_12) );
- VG_(track_new_mem_stack_16) ( & MAC_(new_mem_stack_16) );
- VG_(track_new_mem_stack_32) ( & MAC_(new_mem_stack_32) );
- VG_(track_new_mem_stack) ( & MAC_(new_mem_stack) );
-
- VG_(track_die_mem_stack_4) ( & MAC_(die_mem_stack_4) );
- VG_(track_die_mem_stack_8) ( & MAC_(die_mem_stack_8) );
- VG_(track_die_mem_stack_12) ( & MAC_(die_mem_stack_12) );
- VG_(track_die_mem_stack_16) ( & MAC_(die_mem_stack_16) );
- VG_(track_die_mem_stack_32) ( & MAC_(die_mem_stack_32) );
- VG_(track_die_mem_stack) ( & MAC_(die_mem_stack) );
+ VG_(track_new_mem_stack_4) ( & MAC_(new_mem_stack_4) );
+ VG_(track_new_mem_stack_8) ( & MAC_(new_mem_stack_8) );
+ VG_(track_new_mem_stack_12) ( & MAC_(new_mem_stack_12) );
+ VG_(track_new_mem_stack_16) ( & MAC_(new_mem_stack_16) );
+ VG_(track_new_mem_stack_32) ( & MAC_(new_mem_stack_32) );
+ VG_(track_new_mem_stack_112) ( & MAC_(new_mem_stack_112) );
+ VG_(track_new_mem_stack_128) ( & MAC_(new_mem_stack_128) );
+ VG_(track_new_mem_stack_144) ( & MAC_(new_mem_stack_144) );
+ VG_(track_new_mem_stack_160) ( & MAC_(new_mem_stack_160) );
+ VG_(track_new_mem_stack) ( & MAC_(new_mem_stack) );
+
+ VG_(track_die_mem_stack_4) ( & MAC_(die_mem_stack_4) );
+ VG_(track_die_mem_stack_8) ( & MAC_(die_mem_stack_8) );
+ VG_(track_die_mem_stack_12) ( & MAC_(die_mem_stack_12) );
+ VG_(track_die_mem_stack_16) ( & MAC_(die_mem_stack_16) );
+ VG_(track_die_mem_stack_32) ( & MAC_(die_mem_stack_32) );
+ VG_(track_die_mem_stack_112) ( & MAC_(die_mem_stack_112) );
+ VG_(track_die_mem_stack_128) ( & MAC_(die_mem_stack_128) );
+ VG_(track_die_mem_stack_144) ( & MAC_(die_mem_stack_144) );
+ VG_(track_die_mem_stack_160) ( & MAC_(die_mem_stack_160) );
+ VG_(track_die_mem_stack) ( & MAC_(die_mem_stack) );
VG_(track_ban_mem_stack) ( & mc_make_noaccess );