v0.36.4
What's Changed
-
feat: add separate pointer sanitizers option + smarter sanitizer detection by @aminya in #278
check_sanitizers_support
is no longer needed to be called. It is now called by default to detect the sanitizer support. Unsupported sanitizers are not enabled.
Replacecheck_sanitizers_support
with
set(ENABLE_SANITIZER_ADDRESS "ENABLE_SANITIZER_ADDRESS") set(ENABLE_SANITIZER_UNDEFINED "ENABLE_SANITIZER_UNDEFINED") # ...
Edit: v036.6 fixes a bug for sanitizers.
- Previously, the pointer sanitizers were automatically enabled if address sanitizer was enabled. Now, the user needs to pass the
ENABLE_SANITIZER_POINTER_COMPARE
andENABLE_SANITIZER_POINTER_SUBTRACT
flags manually.
Full Changelog: v0.36.3...v0.36.4