Revert "Reenable the new pass manager in hwasan builds."
This reverts commit 259eaab3b38a7b24604b35b8c7ee89f09b5cac05.
Reason for revert: breaks hwasan + gcov
Bug: 135298400
Change-Id: Ie8574753f9237a55ad1618783bd5150ffb646015
diff --git a/cc/sanitize.go b/cc/sanitize.go
index 60ba5dc..d32efda 100644
--- a/cc/sanitize.go
+++ b/cc/sanitize.go
@@ -38,6 +38,8 @@
asanLdflags = []string{"-Wl,-u,__asan_preinit"}
hwasanCflags = []string{"-fno-omit-frame-pointer", "-Wno-frame-larger-than=",
+ "-fsanitize-hwaddress-abi=platform",
+ "-fno-experimental-new-pass-manager",
// The following improves debug location information
// availability at the cost of its accuracy. It increases
// the likelihood of a stack variable's frame offset