|
From: <sv...@va...> - 2016-09-13 15:54:42
|
Author: carll
Date: Tue Sep 13 16:54:33 2016
New Revision: 15950
Log:
Adapt massif mmapunmap test to handle ppc64 backtrace
The reported backtrace on ppc64 platform reports "generic_start_main.isra.0"
in the backtrace, where other platforms typically see "main". Adjust the
vgtest file to handle this variation. This is similar to existing changes
as seen in deep-D.post.exp
Bugzilla 368461
Modified:
trunk/NEWS
trunk/massif/tests/Makefile.am
trunk/massif/tests/mmapunmap.vgtest
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Tue Sep 13 16:54:33 2016
@@ -154,6 +154,7 @@
363858 Valgrind does not support the IBM POWER ISA 3.0 instructions, part 4/5
364948 Valgrind does not support the IBM POWER ISA 3.0 instructions, part 5/5
366138 Fix configure errors out when using Xcode 8 (clang 8.0.0)
+368461 mmapunmap test fails on ppc64
n-i-bz Fix incorrect (or infinite loop) unwind on RHEL7 x86 and amd64
n-i-bz massif --pages-as-heap=yes does not report peak caused by mmap+munmap
@@ -164,7 +165,6 @@
n-i-bz Bump allowed shift value for "add.w reg, sp, reg, lsl #N" [vex r3206]
n-i-bz amd64: memcheck false positive with shr %edx
-
Release 3.11.0 (22 September 2015)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Modified: trunk/massif/tests/Makefile.am
==============================================================================
--- trunk/massif/tests/Makefile.am (original)
+++ trunk/massif/tests/Makefile.am Tue Sep 13 16:54:33 2016
@@ -24,7 +24,8 @@
long-names.post.exp long-names.stderr.exp long-names.vgtest \
long-time.post.exp long-time.stderr.exp long-time.vgtest \
malloc_usable.stderr.exp malloc_usable.vgtest \
- mmapunmap.post.exp mmapunmap.stderr.exp mmapunmap.vgtest \
+ mmapunmap.post.exp mmapunmap.post.exp-ppc64 \
+ mmapunmap.stderr.exp mmapunmap.vgtest \
new-cpp.post.exp new-cpp.stderr.exp new-cpp.vgtest \
no-stack-no-heap.post.exp no-stack-no-heap.stderr.exp no-stack-no-heap.vgtest \
null.post.exp null.stderr.exp null.vgtest \
Modified: trunk/massif/tests/mmapunmap.vgtest
==============================================================================
--- trunk/massif/tests/mmapunmap.vgtest (original)
+++ trunk/massif/tests/mmapunmap.vgtest Tue Sep 13 16:54:33 2016
@@ -2,5 +2,5 @@
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)' | tr -s ' ' | ../../tests/filter_addresses
+post: grep -A4 -e =peak massif.out | grep -e 'main (mmapunmap.c:16)\|generic_start_main.isra.0' | tr -s ' ' | ../../tests/filter_addresses | ../../tests/filter_libc
cleanup: rm massif.out
|