mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-05 19:13:46 +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
23 lines
477 B
Makefile
23 lines
477 B
Makefile
|
|
include $(top_srcdir)/Makefile.tool-tests.am
|
|
|
|
dist_noinst_SCRIPTS = filter_stderr
|
|
|
|
EXTRA_DIST = \
|
|
blockfault.stderr.exp blockfault.vgtest \
|
|
mremap.stderr.exp mremap.stderr.exp-glibc27 mremap.stdout.exp \
|
|
mremap.vgtest \
|
|
mremap2.stderr.exp mremap2.stdout.exp mremap2.vgtest \
|
|
mremap3.stderr.exp mremap3.stdout.exp mremap3.vgtest
|
|
|
|
check_PROGRAMS = \
|
|
blockfault \
|
|
mremap \
|
|
mremap2 \
|
|
mremap3
|
|
|
|
|
|
AM_CFLAGS += $(AM_FLAG_M3264_PRI)
|
|
AM_CXXFLAGS += $(AM_FLAG_M3264_PRI)
|
|
|