[compiler-rt] b73385d - [TySan] Attempt to unbreak build after #169036

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 1 10:43:07 PST 2025


Author: Nico Weber
Date: 2025-12-01T13:42:59-05:00
New Revision: b73385dda5caa21570ddc6d7277c22aca8f2de1e

URL: https://github.com/llvm/llvm-project/commit/b73385dda5caa21570ddc6d7277c22aca8f2de1e
DIFF: https://github.com/llvm/llvm-project/commit/b73385dda5caa21570ddc6d7277c22aca8f2de1e.diff

LOG: [TySan] Attempt to unbreak build after #169036

If tysan was not in COMPILER_RT_SANITIZERS_TO_BUILD, we used to
get an error after #169036, see comments there for details.

Added: 
    

Modified: 
    compiler-rt/cmake/config-ix.cmake

Removed: 
    


################################################################################
diff  --git a/compiler-rt/cmake/config-ix.cmake b/compiler-rt/cmake/config-ix.cmake
index 8dfbdecbd6b97..084a7060e8d13 100644
--- a/compiler-rt/cmake/config-ix.cmake
+++ b/compiler-rt/cmake/config-ix.cmake
@@ -856,6 +856,7 @@ else()
 endif()
 
 if (COMPILER_RT_HAS_SANITIZER_COMMON AND TYSAN_SUPPORTED_ARCH AND
+        "tysan" IN_LIST COMPILER_RT_SANITIZERS_TO_BUILD AND
         OS_NAME MATCHES "Linux|Darwin")
   set(COMPILER_RT_HAS_TYSAN TRUE)
 else()


        


More information about the llvm-commits mailing list