summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorMitch Phillips <mitchphillips@outlook.com>2019-06-17 22:35:32 +0000
committerMitch Phillips <mitchphillips@outlook.com>2019-06-17 22:35:32 +0000
commitf8bc43854bda9cd47e76c9bcfd05d0e5a907bcd1 (patch)
tree28f56d21fa16f20cbeca02b7caeb05bd196ef415 /cmake
parentf23642d2b0c811cf6a918d57389b6ff779217b7e (diff)
downloadcompiler-rt-f8bc43854bda9cd47e76c9bcfd05d0e5a907bcd1.tar.gz
[GWP-ASan] Disable GWP-ASan on Android for now.
Summary: Temporarily disable GWP-ASan for android until the bugs at: http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-android/builds/87 ... can be fixed. See comments for the full bug trace. Reviewers: eugenis Reviewed By: eugenis Subscribers: srhines, kubamracek, mgorny, cryptoad, jfb, #sanitizers, llvm-commits Tags: #sanitizers, #llvm Differential Revision: https://reviews.llvm.org/D63460 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@363624 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/config-ix.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index 49a22a922..ce77cdc8d 100644
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -687,8 +687,10 @@ endif()
# Note: Fuchsia and Windows are not currently supported by GWP-ASan. Support
# is planned for these platforms. Darwin is also not supported due to TLS
# calling malloc on first use.
+# TODO(hctim): Enable this on Android again. Looks like it's causing a SIGSEGV
+# for Scudo and GWP-ASan, further testing needed.
if (COMPILER_RT_HAS_SANITIZER_COMMON AND GWP_ASAN_SUPPORTED_ARCH AND
- OS_NAME MATCHES "Android|Linux")
+ OS_NAME MATCHES "Linux")
set(COMPILER_RT_HAS_GWP_ASAN TRUE)
else()
set(COMPILER_RT_HAS_GWP_ASAN FALSE)