LLVM API Documentation

Namespaces | Defines | Functions
Valgrind.h File Reference
#include "llvm/Config/llvm-config.h"
#include "llvm/Support/Compiler.h"
#include <stddef.h>
Include dependency graph for Valgrind.h:
This graph shows which files directly or indirectly include this file:

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 Documentation

#define TsanHappensAfter (   cv)    AnnotateHappensAfter(__FILE__, __LINE__, cv)
#define TsanHappensBefore (   cv)    AnnotateHappensBefore(__FILE__, __LINE__, cv)
#define TsanIgnoreWritesBegin ( )    AnnotateIgnoreWritesBegin(__FILE__, __LINE__)
#define TsanIgnoreWritesEnd ( )    AnnotateIgnoreWritesEnd(__FILE__, __LINE__)

Function Documentation

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.