Commit c831801d by Jakub Jelinek Committed by Jakub Jelinek

* configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*.

From-SVN: r244854
parent 5f407e57
2017-01-24 Jakub Jelinek <jakub@redhat.com> 2017-01-24 Jakub Jelinek <jakub@redhat.com>
* configure.tgt: Enable tsan and lsan on powerpc64{,le}-*-linux*.
PR sanitizer/79168 PR sanitizer/79168
* merge.sh (change_comment_headers): Don't remove 2nd and 3rd line * merge.sh (change_comment_headers): Don't remove 2nd and 3rd line
if the 3rd line doesn't contain 'The LLVM Compiler Infrastructure' if the 3rd line doesn't contain 'The LLVM Compiler Infrastructure'
......
# -*- shell-script -*- # -*- 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 # 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 # it under the terms of the GNU General Public License as published by
...@@ -31,6 +31,11 @@ case "${target}" in ...@@ -31,6 +31,11 @@ case "${target}" in
fi fi
;; ;;
powerpc*-*-linux*) 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*) sparc*-*-linux*)
;; ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment