Get asan working & disabling ubsan test for now after VS update (#334)

This commit is contained in:
Duncan Horn 2023-06-15 20:27:12 -07:00 коммит произвёл GitHub
Родитель a8cd266d5c
Коммит 4c557d6563
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -96,5 +96,6 @@ if (${ASAN_AVAILABLE})
endif()
if (${UBSAN_AVAILABLE})
add_subdirectory(sanitize-undefined-behavior)
# TODO: Disabled until https://github.com/microsoft/STL/issues/3568 is resolved
# add_subdirectory(sanitize-undefined-behavior)
endif()

Просмотреть файл

@ -12,6 +12,7 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
target_compile_definitions(witest.asan PRIVATE
# Not compatible with using lld-link
-D_DISABLE_VECTOR_ANNOTATION
-D_DISABLE_STRING_ANNOTATION
# See below; not compatible with exceptions
-DCATCH_CONFIG_DISABLE_EXCEPTIONS
)