13#define ATTRIBUTE_WEAK __attribute__((weak))
21void AnnotateIgnoreReadsBegin(
const char* f,
int l) ATTRIBUTE_WEAK;
23void AnnotateIgnoreReadsEnd(
const char* f,
int l) ATTRIBUTE_WEAK;
25void AnnotateIgnoreWritesBegin(
const char* f,
int l) ATTRIBUTE_WEAK;
27void AnnotateIgnoreWritesEnd(
const char* f,
int l) ATTRIBUTE_WEAK;
29void AnnotateNewMemory(
const char* f,
int l,
const volatile void* address,
long size)
32void AnnotateHappensBefore(
const char* f,
int l,
const volatile void* address) ATTRIBUTE_WEAK;
33void AnnotateHappensAfter(
const char* f,
int l,
const volatile void* address) ATTRIBUTE_WEAK;
39void annotateIgnoreWritesBegin(
const char* f,
int l) {
40 AnnotateIgnoreWritesBegin(f, l);
42void annotateIgnoreWritesEnd(
const char* f,
int l) {
43 AnnotateIgnoreWritesEnd(f, l);
45void annotateIgnoreReadsBegin(
const char* f,
int l) {
46 AnnotateIgnoreReadsBegin(f, l);
48void annotateIgnoreReadsEnd(
const char* f,
int l) {
49 AnnotateIgnoreReadsEnd(f, l);
52void annotateNewMemory(
const char* f,
int l,
const volatile void* address,
long size) {
53 AnnotateNewMemory(f, l, address, size);
56void annotateHappensBefore(
const char* f,
int l,
const volatile void* address) {
57 AnnotateHappensBefore(f, l, address);
60void annotateHappensAfter(
const char* f,
int l,
const volatile void* address) {
61 AnnotateHappensAfter(f, l, address);