|
From: Petar J. <pe...@so...> - 2019-03-04 18:29:23
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=3217459c723df997a0c86c97b55ba539240fa111 commit 3217459c723df997a0c86c97b55ba539240fa111 Author: Petar Jovanovic <mip...@gm...> Date: Mon Mar 4 19:24:55 2019 +0100 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: --- massif/tests/mmapunmap.vgtest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/massif/tests/mmapunmap.vgtest b/massif/tests/mmapunmap.vgtest index 9cf746e..6605299 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 |