From 546e70f188dbda325cea1af5675042981d0ba38a Mon Sep 17 00:00:00 2001 From: Alex Shlyapnikov Date: Thu, 13 Apr 2017 16:17:32 +0000 Subject: Enable LSan on PowerPC64. Summary: With D31555 commited, looks like basic LSan functionality works on PPC64. Time to enable LSan there. Reviewers: eugenis Subscribers: nemanjai, llvm-commits Differential Revision: https://reviews.llvm.org/D31995 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@300204 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/lsan/lsan_common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/lsan/lsan_common.h') diff --git a/lib/lsan/lsan_common.h b/lib/lsan/lsan_common.h index 2851a6672..fb962701d 100644 --- a/lib/lsan/lsan_common.h +++ b/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) -- cgit v1.2.3