[PATCH] D108394: add tsan shared library
Zijun Zhao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 2 18:41:19 PST 2021
ZijunZhao updated this revision to Diff 391524.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108394/new/
https://reviews.llvm.org/D108394
Files:
compiler-rt/cmake/config-ix.cmake
Index: compiler-rt/cmake/config-ix.cmake
===================================================================
--- compiler-rt/cmake/config-ix.cmake
+++ compiler-rt/cmake/config-ix.cmake
@@ -744,13 +744,13 @@
endif()
if (COMPILER_RT_HAS_SANITIZER_COMMON AND TSAN_SUPPORTED_ARCH AND
- OS_NAME MATCHES "Darwin|Linux|FreeBSD|Android|NetBSD")
+ OS_NAME MATCHES "Darwin|Linux|FreeBSD|Android|NetBSD" AND ANDROID_PLATFORM_LEVEL GREATER 23)
set(COMPILER_RT_HAS_TSAN TRUE)
else()
set(COMPILER_RT_HAS_TSAN FALSE)
endif()
-if (OS_NAME MATCHES "Linux|FreeBSD|Windows|NetBSD|SunOS")
+if (OS_NAME MATCHES "Linux|FreeBSD|Windows|NetBSD|SunOS" AND ANDROID_PLATFORM_LEVEL GREATER 23)
set(COMPILER_RT_TSAN_HAS_STATIC_RUNTIME TRUE)
else()
set(COMPILER_RT_TSAN_HAS_STATIC_RUNTIME FALSE)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108394.391524.patch
Type: text/x-patch
Size: 793 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211203/93edcf92/attachment.bin>
More information about the llvm-commits
mailing list