diff options
author | Alex Shlyapnikov <alekseys@google.com> | 2017-04-13 16:17:32 +0000 |
---|---|---|
committer | Alex Shlyapnikov <alekseys@google.com> | 2017-04-13 16:17:32 +0000 |
commit | d77394c5f2ec4d4f5241ca293d7bf66299bc91cd (patch) | |
tree | bfc2eb26a46c27a1dd02b1919fe88b6568249bfa /compiler-rt/lib/lsan/lsan_common.h | |
parent | c87c48019c105e1b198fee37546fe512a89bc669 (diff) | |
download | bcm5719-llvm-d77394c5f2ec4d4f5241ca293d7bf66299bc91cd.tar.gz bcm5719-llvm-d77394c5f2ec4d4f5241ca293d7bf66299bc91cd.zip |
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
llvm-svn: 300204
Diffstat (limited to 'compiler-rt/lib/lsan/lsan_common.h')
-rw-r--r-- | compiler-rt/lib/lsan/lsan_common.h | 3 |
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 2851a6672d2..fb962701df7 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) |