Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 82f6d940 authored by Dan Austin's avatar Dan Austin Committed by android-build-merger
Browse files

Merge "Update coverage sanitizer flags in make" am: 846bd7e0 am: dbe39cd0 am: 213d48e6

am: f445e283

Change-Id: I3e7f74f22dc6f5355261551d084895ac8aacf80f
parents 09a403eb f445e283
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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

+1 −1
Original line number Diff line number Diff line
@@ -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)