[compiler-rt] [rtsan] Re-enable rtsan tests (PR #98219)
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 9 15:37:49 PDT 2024
================
@@ -751,7 +751,8 @@ else()
set(COMPILER_RT_HAS_ASAN FALSE)
endif()
-if (COMPILER_RT_HAS_SANITIZER_COMMON AND RTSAN_SUPPORTED_ARCH)
+if (COMPILER_RT_HAS_SANITIZER_COMMON AND RTSAN_SUPPORTED_ARCH AND
+ OS_NAME MATCHES "Android|Darwin|Linux")
----------------
vitalybuka wrote:
> I believe we need to add the conditional check for COMPILER_RT_HAS_RTSAN in compiler-rt/lib/rtsan/CMakeLists.txt. We missed that in the first PR.
COMPILER_RT_HAS_${} checked by root lib/ and test/ CMakeLists
https://github.com/llvm/llvm-project/pull/98219
More information about the llvm-commits
mailing list