]> git.ipfire.org Git - thirdparty/valgrind.git/commit
On ppc32/64 we don't have a reliable way to detect function entries
authorJulian Seward <jseward@acm.org>
Mon, 20 Oct 2008 23:33:49 +0000 (23:33 +0000)
committerJulian Seward <jseward@acm.org>
Mon, 20 Oct 2008 23:33:49 +0000 (23:33 +0000)
commit25445f9819a475d5912d86165720286e88e4eda9
tree62e1eedac909d31924c15c3893b93780caaeb114
parent69d4400c74db75dd12fa7d9eca0b7063a85f02e0
On ppc32/64 we don't have a reliable way to detect function entries
and exits at the moment.  So disable stack array bounds checking for
ppc32/64 platforms.  Also (unnecessarily) disables global array bounds
checking on those platforms.

Add a flag --enable-sg-checks=no|yes [yes] so that stack and global
checking can be optionally disabled on any platform.  This is useful
because stack and global checking is much more expensive than heap
checking, and so it may be desirable to disable it.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8686
exp-ptrcheck/h_main.c
exp-ptrcheck/pc_common.c
exp-ptrcheck/pc_common.h
exp-ptrcheck/pc_main.c
exp-ptrcheck/sg_main.c