Remove experimental pass manager for fuzzer builds.
Sanitizer coverage is currently broken with the experimental pass manager. See b/133876586 for more information. The patch is currently being worked on upstream (https://reviews.llvm.org/D62888), but is not ready yet. Hence, we disable it here (similar to the LTO bug). Bug: 133876586 Test: Build anything with SANITIZE_TARGET='fuzzer', verify that it has 'sancov' symbols. Change-Id: I74d02e52ccbe2a3d96b6b8e30230197b554e60a0
This commit is contained in:
parent
491ae5b2d1
commit
ee2dcac47a
1 changed files with 3 additions and 0 deletions
|
@ -246,6 +246,9 @@ 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)),)
|
||||
|
|
Loading…
Reference in a new issue