I've setup a project with the following compiler flags -
cmake "-DCMAKE_INSTALL_PREFIX=C:/Users/Sagun Khosla/Desktop/Repos/horizon/out/install/Tests-Clang-GNU-Debug-ASAN" "-DCMAKE_C_COMPILER=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\Llvm\x64\bin\clang.exe" "-DCMAKE_CXX_COMPILER=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\Llvm\x64\bin\clang.exe" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows -DWITH_TESTS=true -DWITHOUT_SERVERS=true "-DCMAKE_C_FLAGS_DEBUG=/MT /INFERASANLIBS /fsanitize=address" "-DCMAKE_CXX_FLAGS_DEBUG=/MT /INFERASANLIBS /fsanitize=address" "-DCMAKE_EXE_LINKER_FLAGS_DEBUG=/INFERASANLIBS /fsanitize=address" "-SC:/Users/Sagun Khosla/Desktop/Repos/horizon" "-BC:/Users/Sagun Khosla/Desktop/Repos/horizon/out/build/Tests-Clang-GNU-Debug-ASAN" -G "Visual Studio 17 2022"
The program compiles but does not print anything, output attached in a file to this post.
The program is actually a test written with Boost.Test link provided here - https://github.com/horizonxyz/horizon/blob/master/src/Tests/LockedLookupTableTest.cpp