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:
parent
85e313077a
commit
6290a25224
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue