mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-04 05:20:30 +00:00
AK: Add #define for [[gnu::no_sanitize_address]]
This lines up with other attribute global #defines
This commit is contained in:
parent
d81f52e529
commit
28987d1b56
Notes:
sideshowbarker
2024-07-18 18:11:27 +09:00
Author: https://github.com/ADKaster Commit: https://github.com/SerenityOS/serenity/commit/28987d1b563 Pull-request: https://github.com/SerenityOS/serenity/pull/7060 Issue: https://github.com/SerenityOS/serenity/issues/4592
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue