mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-03-04 00:20:14 +00:00
[asan] Fix build issue from r245596
This patch fixes the build issue for: sanitizer_platform.h:88:4: error: #error "invalid SANITIZER_AARCH64_VMA size" llvm-svn: 245614
This commit is contained in:
parent
0cdc7719f0
commit
d46da9ac31
@ -83,13 +83,12 @@
|
||||
|
||||
// VMA size definition for architecture that support multiple sizes.
|
||||
// AArch64 has 3 VMA sizes: 39, 42 and 48.
|
||||
#if SANITIZER_LINUX && defined(__aarch64__)
|
||||
#if !defined(SANITIZER_AARCH64_VMA)
|
||||
# define SANITIZER_AARCH64_VMA 39
|
||||
#else
|
||||
# if SANITIZER_AARCH64_VMA != 39 && SANITIZER_AARCH64_VMA != 42
|
||||
# error "invalid SANITIZER_AARCH64_VMA size"
|
||||
# endif
|
||||
# ifndef SANITIZER_AARCH64_VMA
|
||||
# define SANITIZER_AARCH64_VMA 39
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// By default we allow to use SizeClassAllocator64 on 64-bit platform.
|
||||
|
Loading…
x
Reference in New Issue
Block a user