From: Petar Jovanovic Date: Mon, 4 Mar 2019 18:24:55 +0000 (+0100) Subject: modify massif/tests/mmapunmap.vgtest to comply with glibc change X-Git-Tag: VALGRIND_3_15_0~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3217459c723df997a0c86c97b55ba539240fa111;p=thirdparty%2Fvalgrind.git modify massif/tests/mmapunmap.vgtest to comply with glibc change The change in the glibc version (2.27 -> 2.28) results in one additional function call being present in the backtrace for mips64, which leads to the line to be checked to be out of bounds. Changed the post line in mmapunmap.vgtest to work around this. This fixes massif/tests/mmapunmap failure on mips64. Patch by Stefan Maksimovic. --- diff --git a/massif/tests/mmapunmap.vgtest b/massif/tests/mmapunmap.vgtest index 9cf746e978..6605299e9c 100644 --- a/massif/tests/mmapunmap.vgtest +++ b/massif/tests/mmapunmap.vgtest @@ -2,5 +2,5 @@ prog: mmapunmap vgopts: --pages-as-heap=yes --threshold=30.0 -q vgopts: --stacks=no --time-unit=B --depth=8 --massif-out-file=massif.out vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element -post: grep -A4 -e =peak massif.out | grep -e 'main (mmapunmap.c:16)\|(below main)' | tr -s ' ' | ../../tests/filter_addresses | ../../tests/filter_libc +post: grep -A5 -e =peak massif.out | grep -e 'main (mmapunmap.c:16)\|(below main)' | tr -s ' ' | ../../tests/filter_addresses | ../../tests/filter_libc cleanup: rm massif.out