Get asan working & disabling ubsan test for now after VS update (#334)
This commit is contained in:
Родитель
a8cd266d5c
Коммит
4c557d6563
|
@ -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
|
||||
)
|
||||
|
|
Загрузка…
Ссылка в новой задаче