Macros | Functions
dynamic_annotations.h File Reference
#include <stddef.h>
Include dependency graph for dynamic_annotations.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ADDRESS_SANITIZER_REDZONE(name)   static_assert(true, "")
 
#define ANNOTATE_BENIGN_RACE(address, description)   /* empty */
 
#define ANNOTATE_BENIGN_RACE_SIZED(address, size, description)   /* empty */
 
#define ANNOTATE_BENIGN_RACE_STATIC(static_var, description)   /* empty */
 
#define ANNOTATE_CONTIGUOUS_CONTAINER(beg, end, old_mid, new_mid)
 
#define ANNOTATE_ENABLE_RACE_DETECTION(enable)   /* empty */
 
#define ANNOTATE_IGNORE_READS_AND_WRITES_BEGIN()   /* empty */
 
#define ANNOTATE_IGNORE_READS_AND_WRITES_END()   /* empty */
 
#define ANNOTATE_IGNORE_READS_BEGIN()   /* empty */
 
#define ANNOTATE_IGNORE_READS_END()   /* empty */
 
#define ANNOTATE_IGNORE_WRITES_BEGIN()   /* empty */
 
#define ANNOTATE_IGNORE_WRITES_END()   /* empty */
 
#define ANNOTATE_MEMORY_IS_INITIALIZED(address, size)   /* empty */
 
#define ANNOTATE_MEMORY_IS_UNINITIALIZED(address, size)   /* empty */
 
#define ANNOTATE_RWLOCK_ACQUIRED(lock, is_w)   /* empty */
 
#define ANNOTATE_RWLOCK_CREATE(lock)   /* empty */
 
#define ANNOTATE_RWLOCK_CREATE_STATIC(lock)   /* empty */
 
#define ANNOTATE_RWLOCK_DESTROY(lock)   /* empty */
 
#define ANNOTATE_RWLOCK_RELEASED(lock, is_w)   /* empty */
 
#define ANNOTATE_THREAD_NAME(name)   /* empty */
 
#define ANNOTATE_UNPROTECTED_READ(x)   (x)
 
#define ATTRIBUTE_IGNORE_READS_BEGIN   /* empty */
 
#define ATTRIBUTE_IGNORE_READS_END   /* empty */
 
#define DYNAMIC_ANNOTATIONS_ENABLED   0
 

Functions

void AnnotateBenignRace (const char *file, int line, const volatile void *address, const char *description)
 
void AnnotateBenignRaceSized (const char *file, int line, const volatile void *address, size_t size, const char *description)
 
void AnnotateEnableRaceDetection (const char *file, int line, int enable)
 
void AnnotateIgnoreReadsBegin (const char *file, int line) ATTRIBUTE_IGNORE_READS_BEGIN
 
void AnnotateIgnoreReadsEnd (const char *file, int line) ATTRIBUTE_IGNORE_READS_END
 
void AnnotateIgnoreWritesBegin (const char *file, int line)
 
void AnnotateIgnoreWritesEnd (const char *file, int line)
 
void AnnotateMemoryIsInitialized (const char *file, int line, const volatile void *mem, size_t size)
 
void AnnotateMemoryIsUninitialized (const char *file, int line, const volatile void *mem, size_t size)
 
void AnnotateRWLockAcquired (const char *file, int line, const volatile void *lock, long is_w)
 
void AnnotateRWLockCreate (const char *file, int line, const volatile void *lock)
 
void AnnotateRWLockCreateStatic (const char *file, int line, const volatile void *lock)
 
void AnnotateRWLockDestroy (const char *file, int line, const volatile void *lock)
 
void AnnotateRWLockReleased (const char *file, int line, const volatile void *lock, long is_w)
 
void AnnotateThreadName (const char *file, int line, const char *name)
 
int RunningOnValgrind (void)
 
double ValgrindSlowdown (void)
 

Macro Definition Documentation

#define ADDRESS_SANITIZER_REDZONE (   name)    static_assert(true, "")

Definition at line 380 of file dynamic_annotations.h.

#define ANNOTATE_BENIGN_RACE (   address,
  description 
)    /* empty */

Definition at line 124 of file dynamic_annotations.h.

#define ANNOTATE_BENIGN_RACE_SIZED (   address,
  size,
  description 
)    /* empty */

Definition at line 125 of file dynamic_annotations.h.

#define ANNOTATE_BENIGN_RACE_STATIC (   static_var,
  description 
)    /* empty */

Definition at line 366 of file dynamic_annotations.h.

#define ANNOTATE_CONTIGUOUS_CONTAINER (   beg,
  end,
  old_mid,
  new_mid 
)

Definition at line 379 of file dynamic_annotations.h.

#define ANNOTATE_ENABLE_RACE_DETECTION (   enable)    /* empty */

Definition at line 127 of file dynamic_annotations.h.

#define ANNOTATE_IGNORE_READS_AND_WRITES_BEGIN ( )    /* empty */

Definition at line 232 of file dynamic_annotations.h.

#define ANNOTATE_IGNORE_READS_AND_WRITES_END ( )    /* empty */

Definition at line 233 of file dynamic_annotations.h.

#define ANNOTATE_IGNORE_READS_BEGIN ( )    /* empty */

Definition at line 207 of file dynamic_annotations.h.

#define ANNOTATE_IGNORE_READS_END ( )    /* empty */

Definition at line 208 of file dynamic_annotations.h.

#define ANNOTATE_IGNORE_WRITES_BEGIN ( )    /* empty */

Definition at line 209 of file dynamic_annotations.h.

#define ANNOTATE_IGNORE_WRITES_END ( )    /* empty */

Definition at line 210 of file dynamic_annotations.h.

#define ANNOTATE_MEMORY_IS_INITIALIZED (   address,
  size 
)    /* empty */

Definition at line 139 of file dynamic_annotations.h.

#define ANNOTATE_MEMORY_IS_UNINITIALIZED (   address,
  size 
)    /* empty */

Definition at line 140 of file dynamic_annotations.h.

#define ANNOTATE_RWLOCK_ACQUIRED (   lock,
  is_w 
)    /* empty */

Definition at line 122 of file dynamic_annotations.h.

#define ANNOTATE_RWLOCK_CREATE (   lock)    /* empty */

Definition at line 119 of file dynamic_annotations.h.

#define ANNOTATE_RWLOCK_CREATE_STATIC (   lock)    /* empty */

Definition at line 120 of file dynamic_annotations.h.

#define ANNOTATE_RWLOCK_DESTROY (   lock)    /* empty */

Definition at line 121 of file dynamic_annotations.h.

#define ANNOTATE_RWLOCK_RELEASED (   lock,
  is_w 
)    /* empty */

Definition at line 123 of file dynamic_annotations.h.

#define ANNOTATE_THREAD_NAME (   name)    /* empty */

Definition at line 126 of file dynamic_annotations.h.

#define ANNOTATE_UNPROTECTED_READ (   x)    (x)

Definition at line 348 of file dynamic_annotations.h.

#define ATTRIBUTE_IGNORE_READS_BEGIN   /* empty */

Definition at line 159 of file dynamic_annotations.h.

#define ATTRIBUTE_IGNORE_READS_END   /* empty */

Definition at line 160 of file dynamic_annotations.h.

#define DYNAMIC_ANNOTATIONS_ENABLED   0

Definition at line 50 of file dynamic_annotations.h.

Function Documentation

void AnnotateBenignRace ( const char *  file,
int  line,
const volatile void *  address,
const char *  description 
)

Definition at line 53 of file dynamic_annotations.cc.

void AnnotateBenignRaceSized ( const char *  file,
int  line,
const volatile void *  address,
size_t  size,
const char *  description 
)

Definition at line 56 of file dynamic_annotations.cc.

void AnnotateEnableRaceDetection ( const char *  file,
int  line,
int  enable 
)

Definition at line 66 of file dynamic_annotations.cc.

void AnnotateIgnoreReadsBegin ( const char *  file,
int  line 
)

Definition at line 62 of file dynamic_annotations.cc.

void AnnotateIgnoreReadsEnd ( const char *  file,
int  line 
)

Definition at line 63 of file dynamic_annotations.cc.

void AnnotateIgnoreWritesBegin ( const char *  file,
int  line 
)

Definition at line 64 of file dynamic_annotations.cc.

void AnnotateIgnoreWritesEnd ( const char *  file,
int  line 
)

Definition at line 65 of file dynamic_annotations.cc.

void AnnotateMemoryIsInitialized ( const char *  file,
int  line,
const volatile void *  mem,
size_t  size 
)

Definition at line 67 of file dynamic_annotations.cc.

void AnnotateMemoryIsUninitialized ( const char *  file,
int  line,
const volatile void *  mem,
size_t  size 
)

Definition at line 77 of file dynamic_annotations.cc.

void AnnotateRWLockAcquired ( const char *  file,
int  line,
const volatile void *  lock,
long  is_w 
)

Definition at line 49 of file dynamic_annotations.cc.

void AnnotateRWLockCreate ( const char *  file,
int  line,
const volatile void *  lock 
)

Definition at line 45 of file dynamic_annotations.cc.

void AnnotateRWLockCreateStatic ( const char *  file,
int  line,
const volatile void *  lock 
)
void AnnotateRWLockDestroy ( const char *  file,
int  line,
const volatile void *  lock 
)

Definition at line 47 of file dynamic_annotations.cc.

void AnnotateRWLockReleased ( const char *  file,
int  line,
const volatile void *  lock,
long  is_w 
)

Definition at line 51 of file dynamic_annotations.cc.

void AnnotateThreadName ( const char *  file,
int  line,
const char *  name 
)

Definition at line 60 of file dynamic_annotations.cc.

int RunningOnValgrind ( void  )

Definition at line 99 of file dynamic_annotations.cc.

double ValgrindSlowdown ( void  )

Definition at line 111 of file dynamic_annotations.cc.



abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:19:59