[compiler-rt] [compiler-rt] Disable asan tests on GNU/Hurd (PR #169209)
Samuel Thibault via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 23 02:19:07 PST 2025
https://github.com/sthibaul created https://github.com/llvm/llvm-project/pull/169209
Like OpenBSD, asan does not support GNU/Hurd yet.
>From 0ca8f9d219993df6c41ad30c584d52ddf76bcdac Mon Sep 17 00:00:00 2001
From: Samuel Thibault <samuel.thibault at ens-lyon.org>
Date: Sun, 23 Nov 2025 11:16:54 +0100
Subject: [PATCH] [compiler-rt] Disable asan tests on GNU/Hurd
Like OpenBSD, asan does not support GNU/Hurd yet.
---
compiler-rt/test/CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/compiler-rt/test/CMakeLists.txt b/compiler-rt/test/CMakeLists.txt
index a2e4c8cbf5685..c0bf9959c42f4 100644
--- a/compiler-rt/test/CMakeLists.txt
+++ b/compiler-rt/test/CMakeLists.txt
@@ -76,8 +76,8 @@ if(COMPILER_RT_CAN_EXECUTE_TESTS)
compiler_rt_test_runtime(ubsan)
compiler_rt_test_runtime(sanitizer_common)
- # OpenBSD not supporting asan, cannot run the tests
- if(COMPILER_RT_BUILD_LIBFUZZER AND NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "OpenBSD" AND NOT ANDROID)
+ # GNU/Hurd and OpenBSD not supporting asan, cannot run the tests
+ if(COMPILER_RT_BUILD_LIBFUZZER AND NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "GNU" AND NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "OpenBSD" AND NOT ANDROID)
compiler_rt_test_runtime(fuzzer)
# These tests don't need an additional runtime but use asan runtime.
More information about the llvm-commits
mailing list