Reverted r10802.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10807
This commit is contained in:
Bart Van Assche 2009-08-14 06:45:16 +00:00
parent ab787786bb
commit f8433bbd9d
6 changed files with 27 additions and 1 deletions

View File

@ -15,6 +15,10 @@ noinst_HEADERS = \
EXTRA_DIST = \
annotate_order_1.stderr.exp \
annotate_order_1.vgtest \
annotate_order_2.stderr.exp \
annotate_order_2.vgtest \
annotate_order_3.stderr.exp \
annotate_order_3.vgtest \
annotate_spinlock.stderr.exp \
annotate_spinlock.vgtest \
annotate_rwlock.stderr.exp \

View File

@ -0,0 +1,6 @@
FLAGS [phb=1, fm=0]
test30: negative
GLOB=47
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

View File

@ -0,0 +1,5 @@
prereq: test -e tsan_unittest && ./supported_libpthread
vgopts: --read-var-info=yes --check-stack-var=yes --show-confl-seg=no
prog: tsan_unittest
args: 30
stderr_filter: filter_stderr_and_thread_no

View File

@ -0,0 +1,6 @@
FLAGS [phb=1, fm=0]
test31: negative
GLOB=48
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

View File

@ -0,0 +1,5 @@
prereq: test -e tsan_unittest && ./supported_libpthread
vgopts: --read-var-info=yes --check-stack-var=yes --show-confl-seg=no
prog: tsan_unittest
args: 31
stderr_filter: filter_stderr_and_thread_no

View File

@ -65,7 +65,7 @@ using namespace std;
#include "../../drd/drd.h"
#define ANNOTATE_NO_OP(arg) do { } while(0)
#define ANNOTATE_EXPECT_RACE(addr, descr) do { } while(0)
#define ANNOTATE_EXPECT_RACE(addr, descr) DRD_IGNORE_VAR(*(void**)addr)
static inline bool RunningOnValgrind() { return RUNNING_ON_VALGRIND; }
#include <assert.h>