mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2024-10-01 01:36:01 -04:00
disable sanitizer recovery in UBSan debug builds
This makes it harder to miss that an error occurred and avoids spamming output. There should never be a single error, so it doesn't make sense to gather as many errors as possible when a single error is already a serious issue that would need to be fixed.
This commit is contained in:
parent
d8ebdea05f
commit
8f9f2521a0
4
Makefile
4
Makefile
@ -49,8 +49,8 @@ ifeq ($(CONFIG_CXX_ALLOCATOR),true)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_UBSAN),true)
|
ifeq ($(CONFIG_UBSAN),true)
|
||||||
CFLAGS += -fsanitize=undefined
|
CFLAGS += -fsanitize=undefined -fno-sanitize-recover=undefined
|
||||||
CXXFLAGS += -fsanitize=undefined
|
CXXFLAGS += -fsanitize=undefined -fno-sanitize-recover=undefined
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (,$(filter $(CONFIG_SEAL_METADATA),true false))
|
ifeq (,$(filter $(CONFIG_SEAL_METADATA),true false))
|
||||||
|
Loading…
Reference in New Issue
Block a user