Merge "Enable ubsan check flag in build" am: 1907b9905e
am: fe3c61839f
Change-Id: I3a58609d21d730ce8a5bd5dfb66947c7f70a9526
This commit is contained in:
commit
5cbdaa4e09
|
@ -287,12 +287,6 @@ ifneq ($(filter address,$(my_sanitize)),)
|
|||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(filter undefined,$(my_sanitize)),)
|
||||
ifndef LOCAL_IS_HOST_MODULE
|
||||
$(error ubsan is not yet supported on the target)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(strip $(LOCAL_SANITIZE_RECOVER)),)
|
||||
recover_arg := $(subst $(space),$(comma),$(LOCAL_SANITIZE_RECOVER)),
|
||||
my_cflags += -fsanitize-recover=$(recover_arg)
|
||||
|
|
Loading…
Reference in New Issue