Merge "Update coverage sanitizer flags in make" am: 846bd7e00d am: dbe39cd069

am: 213d48e682

Change-Id: Ib4f92789fde658855600ed129e808531a5b54e55
This commit is contained in:
Dan Austin 2017-06-29 19:09:53 +00:00 committed by android-build-merger
commit f445e283e2
2 changed files with 2 additions and 2 deletions

View File

@ -138,7 +138,7 @@ ifneq ($(filter coverage,$(my_sanitize)),)
ifeq ($(filter address,$(my_sanitize)),)
$(error $(LOCAL_PATH): $(LOCAL_MODULE): Use of 'coverage' also requires 'address')
endif
my_cflags += -fsanitize-coverage=edge,indirect-calls,8bit-counters,trace-cmp
my_cflags += -fsanitize-coverage=trace-pc-guard
my_sanitize := $(filter-out coverage,$(my_sanitize))
endif

View File

@ -4,7 +4,7 @@
################################################
$(call record-module-type,HOST_FUZZ_TEST)
LOCAL_CFLAGS += -fsanitize-coverage=edge,indirect-calls,8bit-counters,trace-cmp
LOCAL_CFLAGS += -fsanitize-coverage=trace-pc-guard
LOCAL_STATIC_LIBRARIES += libLLVMFuzzer
include $(BUILD_HOST_EXECUTABLE)