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.pull/103/head
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