mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-10 21:47:06 +00:00
324181 was previously closed with a solution to always make MAP_32BIT fail. This is technically correct/according to the doc, but is not very usable. This patch ensures that MAP_32BIT mmap is succesful, as long as aspacemgr gives a range in the first 2GB (so, compared to a native run, MAP_32BIT will fail much more quickly as aspacemgr does not reserve the address space below 2GB on a 64 bits). Far to be perfect, but this is better than nothing. Added a regression test that test succesful mmap 32 bits till the 2GB limit is reached. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15341
17 lines
323 B
Makefile
17 lines
323 B
Makefile
|
|
include $(top_srcdir)/Makefile.tool-tests.am
|
|
|
|
dist_noinst_SCRIPTS = \
|
|
filter_stderr filter_minimal
|
|
|
|
EXTRA_DIST = \
|
|
bug345887.stderr.exp bug345887.vgtest \
|
|
map_32bits.stderr.exp map_32bits.vgtest
|
|
|
|
check_PROGRAMS = \
|
|
bug345887 map_32bits
|
|
|
|
AM_CFLAGS += @FLAG_M64@
|
|
AM_CXXFLAGS += @FLAG_M64@
|
|
AM_CCASFLAGS += @FLAG_M64@
|