diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-01-24 08:19:37 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-01-24 08:19:37 +0000 |
commit | 8edac8ecd6259e37175d5d41ed1dc8147b8fa6e7 (patch) | |
tree | 1aa2810ded5eb5ac0aa6f0b29c02718c65bfcb97 /libsanitizer | |
parent | fb805201ec32547b47df4b7b12540e65f0966c5b (diff) | |
download | gcc-8edac8ecd6259e37175d5d41ed1dc8147b8fa6e7.tar.gz |
* configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@244854 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libsanitizer')
-rw-r--r-- | libsanitizer/ChangeLog | 2 | ||||
-rw-r--r-- | libsanitizer/configure.tgt | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/libsanitizer/ChangeLog b/libsanitizer/ChangeLog index 70a66cddf6f..b0a4546f960 100644 --- a/libsanitizer/ChangeLog +++ b/libsanitizer/ChangeLog @@ -1,5 +1,7 @@ 2017-01-24 Jakub Jelinek <jakub@redhat.com> + * configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*. + PR sanitizer/79168 * merge.sh (change_comment_headers): Don't remove 2nd and 3rd line if the 3rd line doesn't contain 'The LLVM Compiler Infrastructure' diff --git a/libsanitizer/configure.tgt b/libsanitizer/configure.tgt index 8d884f4bf52..c59b2cd919b 100644 --- a/libsanitizer/configure.tgt +++ b/libsanitizer/configure.tgt @@ -1,5 +1,5 @@ # -*- shell-script -*- -# Copyright (C) 2012 Free Software Foundation, Inc. +# Copyright (C) 2012-2017 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -31,6 +31,11 @@ case "${target}" in fi ;; powerpc*-*-linux*) + if test x$ac_cv_sizeof_void_p = x8; then + TSAN_SUPPORTED=yes + LSAN_SUPPORTED=yes + TSAN_TARGET_DEPENDENT_OBJECTS=tsan_rtl_ppc64.lo + fi ;; sparc*-*-linux*) ;; |