Merge "Enable ubsan check flag in build"

This commit is contained in:
Colin Cross 2017-07-25 17:48:06 +00:00 committed by Gerrit Code Review
commit 1907b9905e
1 changed files with 0 additions and 6 deletions

View File

@ -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)