projects
/
c11tester.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Define invalid shadow value
[c11tester.git]
/
datarace.h
diff --git
a/datarace.h
b/datarace.h
index a9bc92f6625d30c54a2a50da995b543085471079..296118a2d6b305c3dad1da850e338a9c67983b94 100644
(file)
--- a/
datarace.h
+++ b/
datarace.h
@@
-111,6
+111,8
@@
bool race_equals(struct DataRace *r1, struct DataRace *r2);
*/
#define ENCODEOP(rdthread, rdtime, wrthread, wrtime) (0x1ULL | ((rdthread)<<1) | ((rdtime) << 7) | (((uint64_t)wrthread)<<32) | (((uint64_t)wrtime)<<38))
*/
#define ENCODEOP(rdthread, rdtime, wrthread, wrtime) (0x1ULL | ((rdthread)<<1) | ((rdtime) << 7) | (((uint64_t)wrthread)<<32) | (((uint64_t)wrtime)<<38))
+#define INVALIDSHADOWVAL 0x2ULL
+
#define MAXTHREADID (THREADMASK-1)
#define MAXREADVECTOR (READMASK-1)
#define MAXWRITEVECTOR (WRITEMASK-1)
#define MAXTHREADID (THREADMASK-1)
#define MAXREADVECTOR (READMASK-1)
#define MAXWRITEVECTOR (WRITEMASK-1)