From 288836a3b57ac135cd14969e411241e2eedcdf96 Mon Sep 17 00:00:00 2001 From: Chris Apple <14171107+cjappl@users.noreply.github.com> Date: Tue, 21 May 2024 13:46:02 -0700 Subject: [PATCH] PR: Remove too early inclusion of sanitizer common lit tests --- compiler-rt/test/sanitizer_common/CMakeLists.txt | 2 +- compiler-rt/test/sanitizer_common/lit.common.cfg.py | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/compiler-rt/test/sanitizer_common/CMakeLists.txt b/compiler-rt/test/sanitizer_common/CMakeLists.txt index bdf839b348e254..f2df8cec3549b5 100644 --- a/compiler-rt/test/sanitizer_common/CMakeLists.txt +++ b/compiler-rt/test/sanitizer_common/CMakeLists.txt @@ -7,7 +7,7 @@ set(SANITIZER_COMMON_TESTSUITES) # FIXME(dliew): We should switch to COMPILER_RT_SANITIZERS_TO_BUILD instead of # the hard coded `SUPPORTED_TOOLS_INIT` list once we know that the other # sanitizers work. -set(SUPPORTED_TOOLS_INIT asan lsan hwasan msan radsan tsan ubsan) +set(SUPPORTED_TOOLS_INIT asan lsan hwasan msan tsan ubsan) set(SUPPORTED_TOOLS) foreach(SANITIZER_TOOL ${SUPPORTED_TOOLS_INIT}) string(TOUPPER ${SANITIZER_TOOL} SANITIZER_TOOL_UPPER) diff --git a/compiler-rt/test/sanitizer_common/lit.common.cfg.py b/compiler-rt/test/sanitizer_common/lit.common.cfg.py index 80c7372372f448..04af4816eb6e78 100644 --- a/compiler-rt/test/sanitizer_common/lit.common.cfg.py +++ b/compiler-rt/test/sanitizer_common/lit.common.cfg.py @@ -18,9 +18,6 @@ tool_options = "HWASAN_OPTIONS" if not config.has_lld: config.unsupported = True -elif config.tool_name == "radsan": - tool_cflags = ["-fsanitize=realtime"] - tool_options = "RADSAN_OPTIONS" elif config.tool_name == "tsan": tool_cflags = ["-fsanitize=thread"] tool_options = "TSAN_OPTIONS"