git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11898
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
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:?)
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
--- /dev/null
+#!/bin/sh
+
+./filter_stderr_and_thread_no \
+| sed "s/ is at offset [0-9]* from / is at offset ... from /"