[all-commits] [llvm/llvm-project] 96da98: [sanitizers] COMPILER_RT_ASAN_UNIT_TESTS_USE_HOST_...

Andrew Haberlandt via All-commits all-commits at lists.llvm.org
Tue Oct 14 19:46:11 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 96da982128bf7b005afa24a8e6e41e5867d30bc4
      https://github.com/llvm/llvm-project/commit/96da982128bf7b005afa24a8e6e41e5867d30bc4
  Author: Andrew Haberlandt <ndrewh at users.noreply.github.com>
  Date:   2025-10-14 (Tue, 14 Oct 2025)

  Changed paths:
    M compiler-rt/CMakeLists.txt
    M compiler-rt/lib/asan/tests/CMakeLists.txt

  Log Message:
  -----------
  [sanitizers] COMPILER_RT_ASAN_UNIT_TESTS_USE_HOST_RUNTIME to build only unit tests (#161455)

When COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=OFF, none of the asan unit
tests depend on a just-built asan runtime, and instead use the host
runtime.

However, some unit tests currently explicitly depend on the `asan`
target which builds an asan runtime.
COMPILER_RT_ASAN_UNIT_TESTS_USE_HOST_RUNTIME removes this erroneous
dependency when set to ON.

rdar://99760364



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list