AK: Add #define for [[gnu::no_sanitize_address]]

This lines up with other attribute global #defines
This commit is contained in:
Andrew Kaster 2021-05-12 05:51:02 -06:00 committed by Linus Groh
parent d81f52e529
commit 28987d1b56
Notes: sideshowbarker 2024-07-18 18:11:27 +09:00

View file

@ -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)