Clang 17, llvm version 17.0.6, Ubuntu 22. Coonfigure with:
cmake -G Ninja -S runtimes -B msan_out
-DCMAKE_BUILD_TYPE=Release
-DLLVM_ENABLE_RUNTIMES=“all”
-DCMAKE_C_COMPILER=clang
-DCMAKE_CXX_COMPILER=clang++
-DLLVM_USE_SANITIZER=MemoryWithOrigins
Fails with:
CMake Error at /home/user/instrumentedlibcpp/llvm-project/cmake/Modules/GetClangResourceDir.cmake:16 (string):
string sub-command REGEX, mode MATCH needs at least 5 arguments total to
command.
Call Stack (most recent call first):
/home/user/instrumentedlibcpp/llvm-project/openmp/CMakeLists.txt:122 (get_clang_resource_dir)
clang and clang++ are in /usr/bin
Any ideas?
Regards