LAL  7.5.0.1-b72065a
whereami.c File Reference

Go to the source code of this file.

Macros

#define WAI_MALLOC(size)   malloc(size)
 
#define WAI_FREE(p)   free(p)
 
#define WAI_REALLOC(p, size)   realloc(p, size)
 
#define WAI_NOINLINE   __attribute__((noinline))
 
#define WAI_RETURN_ADDRESS()   __builtin_extract_return_addr(__builtin_return_address(0))
 

Macro Definition Documentation

◆ WAI_MALLOC

#define WAI_MALLOC (   size)    malloc(size)

Definition at line 20 of file whereami.c.

◆ WAI_FREE

#define WAI_FREE (   p)    free(p)

Definition at line 24 of file whereami.c.

◆ WAI_REALLOC

#define WAI_REALLOC (   p,
  size 
)    realloc(p, size)

Definition at line 28 of file whereami.c.

◆ WAI_NOINLINE

#define WAI_NOINLINE   __attribute__((noinline))

Definition at line 35 of file whereami.c.

◆ WAI_RETURN_ADDRESS

#define WAI_RETURN_ADDRESS ( )    __builtin_extract_return_addr(__builtin_return_address(0))

Definition at line 44 of file whereami.c.