LLVM API Documentation

Functions | Variables
Valgrind.cpp File Reference
#include "llvm/Support/Valgrind.h"
#include "llvm/Config/config.h"
#include <valgrind/valgrind.h>
Include dependency graph for Valgrind.cpp:

Go to the source code of this file.

Functions

static bool InitNotUnderValgrind ()
LLVM_ATTRIBUTE_WEAK void AnnotateHappensAfter (const char *file, int line, const volatile void *cv)
LLVM_ATTRIBUTE_WEAK void AnnotateHappensBefore (const char *file, int line, const volatile void *cv)
LLVM_ATTRIBUTE_WEAK void AnnotateIgnoreWritesBegin (const char *file, int line)
LLVM_ATTRIBUTE_WEAK void AnnotateIgnoreWritesEnd (const char *file, int line)

Variables

static const bool NotUnderValgrind = InitNotUnderValgrind()

Function Documentation

LLVM_ATTRIBUTE_WEAK void AnnotateHappensAfter ( const char *  file,
int  line,
const volatile void *  cv 
)

Definition at line 64 of file Valgrind.cpp.

LLVM_ATTRIBUTE_WEAK void AnnotateHappensBefore ( const char *  file,
int  line,
const volatile void *  cv 
)

Definition at line 68 of file Valgrind.cpp.

LLVM_ATTRIBUTE_WEAK void AnnotateIgnoreWritesBegin ( const char *  file,
int  line 
)

Definition at line 71 of file Valgrind.cpp.

LLVM_ATTRIBUTE_WEAK void AnnotateIgnoreWritesEnd ( const char *  file,
int  line 
)

Definition at line 73 of file Valgrind.cpp.

static bool InitNotUnderValgrind ( ) [static]

Definition at line 22 of file Valgrind.cpp.


Variable Documentation

Definition at line 30 of file Valgrind.cpp.