1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:47:34 +00:00

Meta: Enable vptr sanitation by default for Lagom UBSAN builds

This commit is contained in:
Timothy Flynn 2022-09-14 16:33:46 -04:00 committed by Andreas Kling
parent 85e313077a
commit 6290a25224

View file

@ -93,8 +93,8 @@ if (ENABLE_MEMORY_SANITIZER)
endif()
if (ENABLE_UNDEFINED_SANITIZER)
add_compile_options(-fsanitize=undefined -fno-sanitize=vptr -fno-omit-frame-pointer)
set(LINKER_FLAGS "${LINKER_FLAGS} -fsanitize=undefined -fno-sanitize=vptr")
add_compile_options(-fsanitize=undefined -fno-omit-frame-pointer)
set(LINKER_FLAGS "${LINKER_FLAGS} -fsanitize=undefined")
endif()
if (ENABLE_FUZZERS)