LLVM API Documentation
Go to the source code of this file.
Namespaces | |
namespace | llvm |
List of target independent CodeGen pass IDs. | |
namespace | llvm::sys |
Defines | |
#define | TsanHappensBefore(cv) AnnotateHappensBefore(__FILE__, __LINE__, cv) |
#define | TsanHappensAfter(cv) AnnotateHappensAfter(__FILE__, __LINE__, cv) |
#define | TsanIgnoreWritesBegin() AnnotateIgnoreWritesBegin(__FILE__, __LINE__) |
#define | TsanIgnoreWritesEnd() AnnotateIgnoreWritesEnd(__FILE__, __LINE__) |
Functions | |
void | AnnotateHappensAfter (const char *file, int line, const volatile void *cv) |
void | AnnotateHappensBefore (const char *file, int line, const volatile void *cv) |
void | AnnotateIgnoreWritesBegin (const char *file, int line) |
void | AnnotateIgnoreWritesEnd (const char *file, int line) |
bool | llvm::sys::RunningOnValgrind () |
void | llvm::sys::ValgrindDiscardTranslations (const void *Addr, size_t Len) |
#define TsanHappensAfter | ( | cv | ) | AnnotateHappensAfter(__FILE__, __LINE__, cv) |
Definition at line 54 of file Valgrind.h.
Referenced by llvm::Statistic::init(), llvm::ManagedStatic< C >::operator*(), and llvm::ManagedStatic< C >::operator->().
#define TsanHappensBefore | ( | cv | ) | AnnotateHappensBefore(__FILE__, __LINE__, cv) |
Definition at line 50 of file Valgrind.h.
Referenced by llvm::ManagedStaticBase::RegisterManagedStatic(), and llvm::Statistic::RegisterStatistic().
#define TsanIgnoreWritesBegin | ( | ) | AnnotateIgnoreWritesBegin(__FILE__, __LINE__) |
Definition at line 58 of file Valgrind.h.
Referenced by llvm::ManagedStaticBase::RegisterManagedStatic(), and llvm::Statistic::RegisterStatistic().
#define TsanIgnoreWritesEnd | ( | ) | AnnotateIgnoreWritesEnd(__FILE__, __LINE__) |
Definition at line 62 of file Valgrind.h.
Referenced by llvm::ManagedStaticBase::RegisterManagedStatic(), and llvm::Statistic::RegisterStatistic().
void AnnotateHappensAfter | ( | const char * | file, |
int | line, | ||
const volatile void * | cv | ||
) |
Definition at line 64 of file Valgrind.cpp.
void AnnotateHappensBefore | ( | const char * | file, |
int | line, | ||
const volatile void * | cv | ||
) |
Definition at line 68 of file Valgrind.cpp.
void AnnotateIgnoreWritesBegin | ( | const char * | file, |
int | line | ||
) |
Definition at line 71 of file Valgrind.cpp.
void AnnotateIgnoreWritesEnd | ( | const char * | file, |
int | line | ||
) |
Definition at line 73 of file Valgrind.cpp.