XenevaOS
Loading...
Searching...
No Matches
Macros
compiler-gcc.h File Reference

Go to the source code of this file.

Macros

#define GCC_VERSION
 
#define RELOC_HIDE(ptr, off)
 
#define barrier_before_unreachable()   asm volatile("")
 
#define KASAN_ABI_VERSION   4
 
#define __no_sanitize_address   __attribute__((__no_sanitize_address__))
 
#define __no_sanitize_thread
 
#define __no_sanitize_undefined   __attribute__((__no_sanitize_undefined__))
 
#define __no_sanitize_coverage
 
#define __no_sanitize_memory
 
#define __no_kmsan_checks
 
#define __diag_GCC(version, severity, s)    __diag_GCC_ ## version(__diag_GCC_ ## severity s)
 
#define __diag_GCC_ignore   ignored
 
#define __diag_GCC_warn   warning
 
#define __diag_GCC_error   error
 
#define __diag_str1(s)   #s
 
#define __diag_str(s)   __diag_str1(s)
 
#define __diag(s)   _Pragma(__diag_str(GCC diagnostic s))
 
#define __diag_GCC_8(s)
 
#define __diag_GCC_all(s)   __diag(s)
 
#define __diag_ignore_all(option, comment)    __diag(__diag_GCC_ignore option)
 
#define CC_HAS_TYPEOF_UNQUAL   (__GNUC__ >= 14)
 

Macro Definition Documentation

◆ __diag

#define __diag (   s)    _Pragma(__diag_str(GCC diagnostic s))

◆ __diag_GCC

#define __diag_GCC (   version,
  severity,
  s 
)     __diag_GCC_ ## version(__diag_GCC_ ## severity s)

◆ __diag_GCC_8

#define __diag_GCC_8 (   s)

◆ __diag_GCC_all

#define __diag_GCC_all (   s)    __diag(s)

◆ __diag_GCC_error

#define __diag_GCC_error   error

◆ __diag_GCC_ignore

#define __diag_GCC_ignore   ignored

◆ __diag_GCC_warn

#define __diag_GCC_warn   warning

◆ __diag_ignore_all

#define __diag_ignore_all (   option,
  comment 
)     __diag(__diag_GCC_ignore option)

◆ __diag_str

#define __diag_str (   s)    __diag_str1(s)

◆ __diag_str1

#define __diag_str1 (   s)    #s

◆ __no_kmsan_checks

#define __no_kmsan_checks

◆ __no_sanitize_address

#define __no_sanitize_address   __attribute__((__no_sanitize_address__))

◆ __no_sanitize_coverage

#define __no_sanitize_coverage

◆ __no_sanitize_memory

#define __no_sanitize_memory

◆ __no_sanitize_thread

#define __no_sanitize_thread

◆ __no_sanitize_undefined

#define __no_sanitize_undefined   __attribute__((__no_sanitize_undefined__))

◆ barrier_before_unreachable

#define barrier_before_unreachable ( )    asm volatile("")

◆ CC_HAS_TYPEOF_UNQUAL

#define CC_HAS_TYPEOF_UNQUAL   (__GNUC__ >= 14)

◆ GCC_VERSION

#define GCC_VERSION
Value:
(__GNUC__ * 10000 \
+ __GNUC_MINOR__ * 100 \
+ __GNUC_PATCHLEVEL__)

◆ KASAN_ABI_VERSION

#define KASAN_ABI_VERSION   4

◆ RELOC_HIDE

#define RELOC_HIDE (   ptr,
  off 
)
Value:
({ \
unsigned long __ptr; \
__asm__ ("" : "=r"(__ptr) : "0"(ptr)); \
(typeof(ptr)) (__ptr + (off)); \
})