]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Calling VG_(am_relocate_nooverlap_client) will destroy the descriptor
authorTom Hughes <tom@compton.nu>
Mon, 27 Sep 2010 15:08:34 +0000 (15:08 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 27 Sep 2010 15:08:34 +0000 (15:08 +0000)
commit00ae2c5c8c2473faddb71ce31282a4cfc2d68a69
tree35015e334b8e8be42811c68ad9f6d1acd7b056d7
parentfd11394abfc0f8af39de63735e7d72a4af66de81
Calling VG_(am_relocate_nooverlap_client) will destroy the descriptor
for the old segment so we need to save the permissions from it before
the call so that we can use them when notifying tools of the new space
afterwards, or we will notify them of the wrong permissions.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11384
coregrind/m_syswrap/syswrap-generic.c