mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
Made ANNOTATE_HAPPENS_BEFORE()/_AFTER() binary compatible with Helgrind.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10814
This commit is contained in:
parent
6d4a7979a0
commit
3eb7d935d1
@ -321,10 +321,12 @@ enum {
|
||||
/* args: null-terminated character string. */
|
||||
|
||||
/* Tell DRD to insert a happens before annotation. */
|
||||
VG_USERREQ__DRD_ANNOTATE_HAPPENS_BEFORE,
|
||||
VG_USERREQ__DRD_ANNOTATE_HAPPENS_BEFORE
|
||||
= VG_USERREQ_TOOL_BASE('H','G') + 256 + 33,
|
||||
/* args: Addr. */
|
||||
/* Tell DRD to insert a happens after annotation. */
|
||||
VG_USERREQ__DRD_ANNOTATE_HAPPENS_AFTER,
|
||||
VG_USERREQ__DRD_ANNOTATE_HAPPENS_AFTER
|
||||
= VG_USERREQ_TOOL_BASE('H','G') + 256 + 34,
|
||||
/* args: Addr. */
|
||||
|
||||
/* Tell DRD about an operation performed on a user-defined reader-writer
|
||||
|
||||
@ -13,6 +13,8 @@ noinst_HEADERS = \
|
||||
tsan_thread_wrappers_pthread.h
|
||||
|
||||
EXTRA_DIST = \
|
||||
annotate_hbefore.stderr.exp \
|
||||
annotate_hbefore.vgtest \
|
||||
annotate_order_1.stderr.exp \
|
||||
annotate_order_1.vgtest \
|
||||
annotate_order_2.stderr.exp \
|
||||
|
||||
3
drd/tests/annotate_hbefore.stderr.exp
Normal file
3
drd/tests/annotate_hbefore.stderr.exp
Normal file
@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
|
||||
4
drd/tests/annotate_hbefore.vgtest
Normal file
4
drd/tests/annotate_hbefore.vgtest
Normal file
@ -0,0 +1,4 @@
|
||||
prereq: test -e ../../helgrind/tests/annotate_hbefore && ./supported_libpthread
|
||||
vgopts: --read-var-info=yes --check-stack-var=yes --show-confl-seg=no
|
||||
prog: ../../helgrind/tests/annotate_hbefore
|
||||
stderr_filter: filter_stderr
|
||||
Loading…
x
Reference in New Issue
Block a user