From 96fa3dd0af5a1eab9b79a176adcc17a2b8d64881 Mon Sep 17 00:00:00 2001 From: Evgenii Stepanov Date: Fri, 27 Mar 2020 19:38:42 +0000 Subject: [PATCH] Revert "Reenable the new pass manager in hwasan builds." This reverts commit 259eaab3b38a7b24604b35b8c7ee89f09b5cac05. Reason for revert: breaks hwasan + gcov Bug: 135298400 Change-Id: Ie8574753f9237a55ad1618783bd5150ffb646015 --- cc/sanitize.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cc/sanitize.go b/cc/sanitize.go index 60ba5dce0..d32efda43 100644 --- a/cc/sanitize.go +++ b/cc/sanitize.go @@ -38,6 +38,8 @@ var ( 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