diff options
-rw-r--r-- | AK/Platform.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/AK/Platform.h b/AK/Platform.h index ec03c2f170..0d6801cab7 100644 --- a/AK/Platform.h +++ b/AK/Platform.h @@ -40,6 +40,11 @@ #endif #define FLATTEN [[gnu::flatten]] +#ifdef NO_SANITIZE_ADDRESS +# undef NO_SANITIZE_ADDRESS +#endif +#define NO_SANITIZE_ADDRESS [[gnu::no_sanitize_address]] + #ifndef __serenity__ # include <unistd.h> # define PAGE_SIZE sysconf(_SC_PAGESIZE) |