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

◆ ADDRESS_SANITIZER_REDZONE

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

Definition at line 380 of file dynamic_annotations.h.

◆ ANNOTATE_BENIGN_RACE

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

Definition at line 124 of file dynamic_annotations.h.

◆ ANNOTATE_BENIGN_RACE_SIZED

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

Definition at line 125 of file dynamic_annotations.h.

◆ ANNOTATE_BENIGN_RACE_STATIC

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

Definition at line 366 of file dynamic_annotations.h.

◆ ANNOTATE_CONTIGUOUS_CONTAINER

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

Definition at line 379 of file dynamic_annotations.h.

◆ ANNOTATE_ENABLE_RACE_DETECTION

#define ANNOTATE_ENABLE_RACE_DETECTION (   enable)    /* empty */

Definition at line 127 of file dynamic_annotations.h.

◆ ANNOTATE_IGNORE_READS_AND_WRITES_BEGIN

#define ANNOTATE_IGNORE_READS_AND_WRITES_BEGIN ( )    /* empty */

Definition at line 232 of file dynamic_annotations.h.

◆ ANNOTATE_IGNORE_READS_AND_WRITES_END

#define ANNOTATE_IGNORE_READS_AND_WRITES_END ( )    /* empty */

Definition at line 233 of file dynamic_annotations.h.

◆ ANNOTATE_IGNORE_READS_BEGIN

#define ANNOTATE_IGNORE_READS_BEGIN ( )    /* empty */

Definition at line 207 of file dynamic_annotations.h.

◆ ANNOTATE_IGNORE_READS_END

#define ANNOTATE_IGNORE_READS_END ( )    /* empty */

Definition at line 208 of file dynamic_annotations.h.

◆ ANNOTATE_IGNORE_WRITES_BEGIN

#define ANNOTATE_IGNORE_WRITES_BEGIN ( )    /* empty */

Definition at line 209 of file dynamic_annotations.h.

◆ ANNOTATE_IGNORE_WRITES_END

#define ANNOTATE_IGNORE_WRITES_END ( )    /* empty */

Definition at line 210 of file dynamic_annotations.h.

◆ ANNOTATE_MEMORY_IS_INITIALIZED

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

Definition at line 139 of file dynamic_annotations.h.

◆ ANNOTATE_MEMORY_IS_UNINITIALIZED

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

Definition at line 140 of file dynamic_annotations.h.

◆ ANNOTATE_RWLOCK_ACQUIRED

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

Definition at line 122 of file dynamic_annotations.h.

◆ ANNOTATE_RWLOCK_CREATE

#define ANNOTATE_RWLOCK_CREATE (   lock)    /* empty */

Definition at line 119 of file dynamic_annotations.h.

◆ ANNOTATE_RWLOCK_CREATE_STATIC

#define ANNOTATE_RWLOCK_CREATE_STATIC (   lock)    /* empty */

Definition at line 120 of file dynamic_annotations.h.

◆ ANNOTATE_RWLOCK_DESTROY

#define ANNOTATE_RWLOCK_DESTROY (   lock)    /* empty */

Definition at line 121 of file dynamic_annotations.h.

◆ ANNOTATE_RWLOCK_RELEASED

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

Definition at line 123 of file dynamic_annotations.h.

◆ ANNOTATE_THREAD_NAME

#define ANNOTATE_THREAD_NAME (   name)    /* empty */

Definition at line 126 of file dynamic_annotations.h.

◆ ANNOTATE_UNPROTECTED_READ

#define ANNOTATE_UNPROTECTED_READ (   x)    (x)

Definition at line 348 of file dynamic_annotations.h.

◆ ATTRIBUTE_IGNORE_READS_BEGIN

#define ATTRIBUTE_IGNORE_READS_BEGIN   /* empty */

Definition at line 159 of file dynamic_annotations.h.

◆ ATTRIBUTE_IGNORE_READS_END

#define ATTRIBUTE_IGNORE_READS_END   /* empty */

Definition at line 160 of file dynamic_annotations.h.

◆ DYNAMIC_ANNOTATIONS_ENABLED

#define DYNAMIC_ANNOTATIONS_ENABLED   0

Definition at line 50 of file dynamic_annotations.h.

Function Documentation

◆ AnnotateBenignRace()

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

Definition at line 53 of file dynamic_annotations.cc.

◆ AnnotateBenignRaceSized()

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.

◆ AnnotateEnableRaceDetection()

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

Definition at line 66 of file dynamic_annotations.cc.

◆ AnnotateIgnoreReadsBegin()

void AnnotateIgnoreReadsBegin ( const char *  file,
int  line 
)

Definition at line 62 of file dynamic_annotations.cc.

◆ AnnotateIgnoreReadsEnd()

void AnnotateIgnoreReadsEnd ( const char *  file,
int  line 
)

Definition at line 63 of file dynamic_annotations.cc.

◆ AnnotateIgnoreWritesBegin()

void AnnotateIgnoreWritesBegin ( const char *  file,
int  line 
)

Definition at line 64 of file dynamic_annotations.cc.

◆ AnnotateIgnoreWritesEnd()

void AnnotateIgnoreWritesEnd ( const char *  file,
int  line 
)

Definition at line 65 of file dynamic_annotations.cc.

◆ AnnotateMemoryIsInitialized()

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

Definition at line 67 of file dynamic_annotations.cc.

◆ AnnotateMemoryIsUninitialized()

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

Definition at line 77 of file dynamic_annotations.cc.

◆ AnnotateRWLockAcquired()

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

Definition at line 49 of file dynamic_annotations.cc.

◆ AnnotateRWLockCreate()

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

Definition at line 45 of file dynamic_annotations.cc.

◆ AnnotateRWLockCreateStatic()

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

◆ AnnotateRWLockDestroy()

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

Definition at line 47 of file dynamic_annotations.cc.

◆ AnnotateRWLockReleased()

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

Definition at line 51 of file dynamic_annotations.cc.

◆ AnnotateThreadName()

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

Definition at line 60 of file dynamic_annotations.cc.

◆ RunningOnValgrind()

int RunningOnValgrind ( void  )

Definition at line 99 of file dynamic_annotations.cc.

◆ ValgrindSlowdown()

double ValgrindSlowdown ( void  )

Definition at line 111 of file dynamic_annotations.cc.



abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:22