[cc/sanitize] Re-enable new pass manager for fuzzer targets

Bug: http://b/133876586

This was turned off but the upstream change fixing this has been long
part of the Android toolchain.

Test: Output of
  m aidl_parser_fuzzer; readelf aidl_parser_fuzzer | grep -c sancov
hasn't changed.

Change-Id: I1d5f9c94cebad74ee00adc1290bbf425bb5c4cd3
This commit is contained in:
Pirama Arumuga Nainar 2021-12-01 20:50:38 -08:00
parent d373dd2938
commit 49f052d155

View file

@ -299,9 +299,6 @@ ifneq ($(filter fuzzer,$(my_sanitize)),)
my_sanitize := $(filter-out cfi,$(my_sanitize))
my_cflags += -fno-lto
my_ldflags += -fno-lto
# TODO(b/133876586): Disable experimental pass manager for fuzzer builds.
my_cflags += -fno-experimental-new-pass-manager
endif
ifneq ($(filter integer_overflow,$(my_sanitize)),)