diff options
Diffstat (limited to 'compiler-rt/lib/gwp_asan/definitions.h')
-rw-r--r-- | compiler-rt/lib/gwp_asan/definitions.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler-rt/lib/gwp_asan/definitions.h b/compiler-rt/lib/gwp_asan/definitions.h index bebe56c55a26..563c408b6315 100644 --- a/compiler-rt/lib/gwp_asan/definitions.h +++ b/compiler-rt/lib/gwp_asan/definitions.h @@ -9,9 +9,12 @@ #ifndef GWP_ASAN_DEFINITIONS_H_ #define GWP_ASAN_DEFINITIONS_H_ -#define GWP_ASAN_TLS_INITIAL_EXEC __thread __attribute__((tls_model("initial-exec"))) +#define GWP_ASAN_TLS_INITIAL_EXEC \ + __thread __attribute__((tls_model("initial-exec"))) #define GWP_ASAN_UNLIKELY(X) __builtin_expect(!!(X), 0) #define GWP_ASAN_ALWAYS_INLINE inline __attribute__((always_inline)) +#define GWP_ASAN_WEAK __attribute__((weak)) + #endif // GWP_ASAN_DEFINITIONS_H_ |