Include `count` in AppleClang toolchains.
authorDan Liew <dliew@apple.com>
Thu, 8 Apr 2021 04:33:24 +0000 (21:33 -0700)
committerDan Liew <dliew@apple.com>
Thu, 8 Apr 2021 21:00:29 +0000 (14:00 -0700)
The motivation here is so we can run the compiler-rt tests
from a standalone build against AppleClang.

In particular the `Posix/halt_on_error-torture.cpp` and
`Posix/halt_on_error_suppress_equal_pcs.cpp` ASan test cases currently
require this binary for the tests to pass.

rdar://76366784

Differential Revision: https://reviews.llvm.org/D100087

clang/cmake/caches/Apple-stage2.cmake

index 3a8bae0..d347ffc 100644 (file)
@@ -65,6 +65,7 @@ set(LLVM_TOOLCHAIN_UTILITIES
   FileCheck
   yaml2obj
   not
+  count
   CACHE STRING "")
 
 set(LLVM_DISTRIBUTION_COMPONENTS