summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManoj Gupta <manojgupta@chromium.org>2021-12-14 16:37:25 +0000
committerCommit Bot <commit-bot@chromium.org>2021-12-16 21:50:05 +0000
commit7437402dee564f38551d238b0fc02665b73a07fa (patch)
tree31e084e4265dfa66a537c6edcb5a75227b69f377
parent94951bdfcb670d5b4156e82da32e9f8b32333aa9 (diff)
downloadchrome-ec-7437402dee564f38551d238b0fc02665b73a07fa.tar.gz
Makefile.toolchain: Stop using old pass manager with fuzzing
New pass manager is new clang default for a long time. Drop this option has all sanitizer related bugs with it have been fixed. BUG=b:210661138 TEST=CQ Change-Id: I99e7b46be25f7e3ca15ac742502b6d4e1ab3e124 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3339391 Tested-by: Manoj Gupta <manojgupta@chromium.org> Auto-Submit: Manoj Gupta <manojgupta@chromium.org> Reviewed-by: Diana Z <dzigterman@chromium.org> Commit-Queue: Diana Z <dzigterman@chromium.org>
-rw-r--r--Makefile.toolchain3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.toolchain b/Makefile.toolchain
index a56193201a..ddb6e82ffa 100644
--- a/Makefile.toolchain
+++ b/Makefile.toolchain
@@ -95,8 +95,7 @@ CFLAGS_TEST=$(if $(TEST_BUILD),-DTEST_BUILD=$(EMPTY) \
$(if $(TEST_ASAN),-fsanitize=address) \
$(if $(TEST_MSAN),-fsanitize=memory) \
$(if $(TEST_UBSAN),$(UBSAN_FLAGS)) \
- $(if $(TEST_FUZZ),-fsanitize=fuzzer-no-link \
- -fno-experimental-new-pass-manager -DTEST_FUZZ=$(EMPTY))
+ $(if $(TEST_FUZZ),-fsanitize=fuzzer-no-link -DTEST_FUZZ=$(EMPTY))
CFLAGS_COVERAGE=$(if $(TEST_COVERAGE),--coverage \
-DTEST_COVERAGE=$(EMPTY),)
CFLAGS_HOSTTEST=$(if $(TEST_HOSTTEST),-DTEST_HOSTTEST=$(EMPTY),) -Iinclude/driver