[compiler-rt] [llvm] [LLVM][compiler-rt] Fix build with LLVM_USE_SANITIZER=Undefined (PR #120006)
Dmitry Chestnykh via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 16 04:55:58 PST 2024
chestnykh wrote:
UPD:
With clang as host compiler the following error is also presented:
```
CMake Error at /home/dima/work/llvm-project/compiler-rt/cmake/Modules/AddCompilerRT.cmake:466 (sanitizer_test_compile):
Unknown CMake command "sanitizer_test_compile".
Call Stack (most recent call first):
/home/dima/work/llvm-project/compiler-rt/lib/scudo/standalone/tests/CMakeLists.txt:76 (generate_compiler_rt_tests)
/home/dima/work/llvm-project/compiler-rt/lib/scudo/standalone/tests/CMakeLists.txt:121 (add_scudo_unittest)
```
So the patch is needed
https://github.com/llvm/llvm-project/pull/120006
More information about the llvm-commits
mailing list