summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/lsan/lsan_common.h
diff options
context:
space:
mode:
authorAlex Shlyapnikov <alekseys@google.com>2017-04-20 21:56:36 +0000
committerAlex Shlyapnikov <alekseys@google.com>2017-04-20 21:56:36 +0000
commit906ffb7b8f8e5cb767a4083a44f69684bb42f3ae (patch)
tree5fd5d1351cc3c85973c26d89aba6e4028f7037fa /compiler-rt/lib/lsan/lsan_common.h
parentf77bb46dc09b97d475b0f6b725ad4fe76ff25326 (diff)
downloadbcm5719-llvm-906ffb7b8f8e5cb767a4083a44f69684bb42f3ae.tar.gz
bcm5719-llvm-906ffb7b8f8e5cb767a4083a44f69684bb42f3ae.zip
Enable LSan on PowerPC64.
Summary: Re-landing reverted D31995 with suppressions defined in D32303. Reviewers: eugenis Subscribers: nemanjai, llvm-commits Differential Revision: https://reviews.llvm.org/D32314 llvm-svn: 300903
Diffstat (limited to 'compiler-rt/lib/lsan/lsan_common.h')
-rw-r--r--compiler-rt/lib/lsan/lsan_common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler-rt/lib/lsan/lsan_common.h b/compiler-rt/lib/lsan/lsan_common.h
index 121b9c08298..beb31d6f40e 100644
--- a/compiler-rt/lib/lsan/lsan_common.h
+++ b/compiler-rt/lib/lsan/lsan_common.h
@@ -32,7 +32,8 @@
// new architecture inside sanitizer library.
#if (SANITIZER_LINUX && !SANITIZER_ANDROID || SANITIZER_MAC) && \
(SANITIZER_WORDSIZE == 64) && \
- (defined(__x86_64__) || defined(__mips64) || defined(__aarch64__))
+ (defined(__x86_64__) || defined(__mips64) || defined(__aarch64__) || \
+ defined(__powerpc64__))
#define CAN_SANITIZE_LEAKS 1
#elif defined(__i386__) && \
(SANITIZER_LINUX && !SANITIZER_ANDROID || SANITIZER_MAC)
OpenPOWER on IntegriCloud