Skip to content

Commit 79a59b5

Browse files
author
mjw
committed
Run memcheck/tests/demangle with -q.
The interesting part is the demangled backtrace in the error message. Suppress the memory allocation/blocks summary which can differ slightly depending on the underlying arch/libs. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15308 a5019735-40e9-0310-863c-91ae7b9d1cf9
1 parent d052830 commit 79a59b5

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

memcheck/tests/demangle.stderr.exp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
1-
21
Conditional jump or move depends on uninitialised value(s)
32
at 0x........: abc::def<int, magic<int> >::xyzzy(int*, magic<int>*) (demangle.cpp:9)
43
by 0x........: magic<int>::xyzzy(int*) (demangle.cpp:19)
54
by 0x........: main (demangle.cpp:27)
65

7-
8-
HEAP SUMMARY:
9-
in use at exit: 6 bytes in 3 blocks
10-
total heap usage: 3 allocs, 0 frees, 6 bytes allocated
11-
12-
For a detailed leak analysis, rerun with: --leak-check=full
13-
14-
For counts of detected and suppressed errors, rerun with: -v
15-
Use --track-origins=yes to see where uninitialised values come from
16-
ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)

memcheck/tests/demangle.vgtest

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
prog: demangle
2+
vgopts: -q

0 commit comments

Comments
 (0)