mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
mremap3.c based on testcase provided by Jan Engelhardt * coregrind/m_syswrap/syswrap-generic.c - The two 'no-thrash checks' that were introduced to fix bug #129866 were (probably) broken when adress space manager was reworked. The new VG_(am_get_advisory_client_simple) returns NULL for a free segment, but the check was based on checking not NULL and then that the state is free. => replaces these two local checks by a call to the new am Bool VG_(am_covered_by_single_free_segment) function. * coregrind/pub_core_aspacemgr.h coregrind/m_aspacemgr/aspacemgr-linux.c - new function Bool VG_(am_covered_by_single_free_segment) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12314