mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 10:05:29 +00:00
drd/tests/annotate_smart_pointer2: Filter out offset
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11898
This commit is contained in:
parent
b15c0697f9
commit
9c8728c421
@ -6,6 +6,7 @@ dist_noinst_SCRIPTS = \
|
||||
filter_error_summary \
|
||||
filter_stderr \
|
||||
filter_stderr_and_thread_no \
|
||||
filter_stderr_and_thread_no_and_offset \
|
||||
run_openmp_test \
|
||||
supported_libpthread \
|
||||
supported_sem_init
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
|
||||
Conflicting store by thread x at 0x........ size 4
|
||||
at 0x........: main (annotate_smart_pointer.cpp:?)
|
||||
Address 0x........ is at offset 24 from 0x......... Allocation context:
|
||||
Address 0x........ is at offset ... from 0x......... Allocation context:
|
||||
at 0x........: ...operator new... (vg_replace_malloc.c:...)
|
||||
by 0x........: main (annotate_smart_pointer.cpp:?)
|
||||
|
||||
|
||||
@ -2,4 +2,4 @@ prereq: test -e annotate_smart_pointer && ./supported_libpthread
|
||||
vgopts: --read-var-info=yes --check-stack-var=yes --show-confl-seg=no
|
||||
prog: annotate_smart_pointer
|
||||
args: 1 1 0
|
||||
stderr_filter: filter_stderr_and_thread_no
|
||||
stderr_filter: filter_stderr_and_thread_no_and_offset
|
||||
|
||||
4
drd/tests/filter_stderr_and_thread_no_and_offset
Executable file
4
drd/tests/filter_stderr_and_thread_no_and_offset
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
./filter_stderr_and_thread_no \
|
||||
| sed "s/ is at offset [0-9]* from / is at offset ... from /"
|
||||
Loading…
x
Reference in New Issue
Block a user