1
2 #ifndef __LINUX_COMPILER_TYPES_H
3 #error "Please don't include <linux/compiler-clang.h> directly, include <linux/compiler.h> instead."
4 #endif
5
6
7
8 #define uninitialized_var(x) x = *(&(x))
9
10
11
12
13 #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
14
15
16 #define KASAN_ABI_VERSION 5
17
18 #if __has_feature(address_sanitizer) || __has_feature(hwaddress_sanitizer)
19
20 #define __SANITIZE_ADDRESS__
21 #define __no_sanitize_address \
22 __attribute__((no_sanitize("address", "hwaddress")))
23 #else
24 #define __no_sanitize_address
25 #endif
26
27
28
29
30
31
32
33
34 #if __has_builtin(__builtin_mul_overflow) && \
35 __has_builtin(__builtin_add_overflow) && \
36 __has_builtin(__builtin_sub_overflow)
37 #define COMPILER_HAS_GENERIC_BUILTIN_OVERFLOW 1
38 #endif
39
40
41
42
43
44 #define barrier() __asm__ __volatile__("" : : : "memory")