File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 29
29
// To enable LeakSanitizer on a new architecture, one needs to implement the
30
30
// internal_clone function as well as (probably) adjust the TLS machinery for
31
31
// the new architecture inside the sanitizer library.
32
- #if (SANITIZER_LINUX && \
33
- (!SANITIZER_ANDROID || defined(ANDROID_HAS_ELF_TLS)) || \
34
- SANITIZER_MAC) && \
32
+ #if ((SANITIZER_LINUX && !SANITIZER_ANDROID) || SANITIZER_MAC) && \
35
33
(SANITIZER_WORDSIZE == 64 ) && \
36
34
(defined(__x86_64__) || defined(__mips64) || defined(__aarch64__) || \
37
35
defined (__powerpc64__) || defined(__s390x__))
38
36
#define CAN_SANITIZE_LEAKS 1
39
- #elif defined(__i386__) && \
40
- (SANITIZER_LINUX && \
41
- (!SANITIZER_ANDROID || defined(ANDROID_HAS_ELF_TLS)) || \
42
- SANITIZER_MAC)
37
+ #elif defined(__i386__) && \
38
+ ((SANITIZER_LINUX && !SANITIZER_ANDROID) || SANITIZER_MAC)
43
39
#define CAN_SANITIZE_LEAKS 1
44
40
#elif defined(__arm__) && SANITIZER_LINUX && !SANITIZER_ANDROID
45
41
#define CAN_SANITIZE_LEAKS 1
You can’t perform that action at this time.
0 commit comments