forked from OSchip/llvm-project
[sanitizer] Define SANITIZER_ARM SANITIZER_X64 SANITIZER_ARM64
This commit is contained in:
parent
72847ec8bf
commit
bc9688f4e4
|
@ -138,6 +138,12 @@
|
|||
# define SANITIZER_X32 0
|
||||
#endif
|
||||
|
||||
#if defined(__x86_64__) || defined(_M_X64)
|
||||
# define SANITIZER_X64 1
|
||||
#else
|
||||
# define SANITIZER_X64 0
|
||||
#endif
|
||||
|
||||
#if defined(__i386__) || defined(_M_IX86)
|
||||
# define SANITIZER_I386 1
|
||||
#else
|
||||
|
@ -207,12 +213,18 @@
|
|||
# define SANITIZER_PPC64V2 0
|
||||
#endif
|
||||
|
||||
#if defined(__arm__)
|
||||
#if defined(__arm__) || defined(_M_ARM)
|
||||
# define SANITIZER_ARM 1
|
||||
#else
|
||||
# define SANITIZER_ARM 0
|
||||
#endif
|
||||
|
||||
#if defined(__aarch64__) || defined(_M_ARM64)
|
||||
# define SANITIZER_ARM64 1
|
||||
#else
|
||||
# define SANITIZER_ARM64 0
|
||||
#endif
|
||||
|
||||
#if SANITIZER_SOLARIS && SANITIZER_WORDSIZE == 32
|
||||
# define SANITIZER_SOLARIS32 1
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue