| Index: src/globals.h
|
| diff --git a/src/globals.h b/src/globals.h
|
| index 701fdeee1215096bce0ea6922befdc5c92ca2a0c..1db48a11d84b718bcc9ad811ae0a7a5d04548c60 100644
|
| --- a/src/globals.h
|
| +++ b/src/globals.h
|
| @@ -226,6 +226,14 @@ const int MB = KB * KB;
|
| const int GB = KB * KB * KB;
|
| const int kMaxInt = 0x7FFFFFFF;
|
| const int kMinInt = -kMaxInt - 1;
|
| +const int kMaxInt8 = (1 << 7) - 1;
|
| +const int kMinInt8 = -(1 << 7);
|
| +const int kMaxUInt8 = (1 << 8) - 1;
|
| +const int kMinUInt8 = 0;
|
| +const int kMaxInt16 = (1 << 15) - 1;
|
| +const int kMinInt16 = -(1 << 15);
|
| +const int kMaxUInt16 = (1 << 16) - 1;
|
| +const int kMinUInt16 = 0;
|
|
|
| const uint32_t kMaxUInt32 = 0xFFFFFFFFu;
|
|
|
| @@ -358,7 +366,7 @@ F FUNCTION_CAST(Address addr) {
|
| // Define DISABLE_ASAN macros.
|
| #if defined(__has_feature)
|
| #if __has_feature(address_sanitizer)
|
| -#define DISABLE_ASAN __attribute__((no_address_safety_analysis))
|
| +#define DISABLE_ASAN __attribute__((no_sanitize_address))
|
| #endif
|
| #endif
|
|
|
|
|