16 #ifndef LLVM_SUPPORT_VALGRIND_H
17 #define LLVM_SUPPORT_VALGRIND_H
19 #include "llvm/Config/llvm-config.h"
23 #if LLVM_ENABLE_THREADS != 0 && !defined(NDEBUG)
43 #if LLVM_ENABLE_THREADS != 0 && !defined(NDEBUG)
50 #define TsanHappensBefore(cv) \
51 AnnotateHappensBefore(__FILE__, __LINE__, cv)
54 #define TsanHappensAfter(cv) \
55 AnnotateHappensAfter(__FILE__, __LINE__, cv)
58 #define TsanIgnoreWritesBegin() \
59 AnnotateIgnoreWritesBegin(__FILE__, __LINE__)
62 #define TsanIgnoreWritesEnd() \
63 AnnotateIgnoreWritesEnd(__FILE__, __LINE__)
65 #define TsanHappensBefore(cv)
66 #define TsanHappensAfter(cv)
67 #define TsanIgnoreWritesBegin()
68 #define TsanIgnoreWritesEnd()
void ValgrindDiscardTranslations(const void *Addr, size_t Len)
Number of individual test Apply this number of consecutive mutations to each input exit after the first new interesting input is found the minimized corpus is saved into the first input directory Number of jobs to run If Reload the main corpus periodically to get new units discovered by other processes Read the given input file
void AnnotateHappensBefore(const char *file, int line, const volatile void *cv)
void AnnotateIgnoreWritesEnd(const char *file, int line)
void AnnotateHappensAfter(const char *file, int line, const volatile void *cv)
void AnnotateIgnoreWritesBegin(const char *file, int line)