From 77d0035a0714059796a657b3554ea5da6834f798 Mon Sep 17 00:00:00 2001 From: Florian Mayer Date: Wed, 1 Dec 2021 02:31:45 +0000 Subject: [PATCH] Revert "Enable hwasan use after scope detection." This reverts commit 753dd32123a3eb8ff251a2c876ab0c5258ead752. Reason for revert: Broke hwasan postsubmit and https://r.android.com/1906006 does not seem to fix it. Reverting while investigating. Change-Id: I0033314ac936e7062dc785b3b362ead0b5e9d8f0 --- cc/sanitize.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cc/sanitize.go b/cc/sanitize.go index 324e6ddd6..93d4b4c54 100644 --- a/cc/sanitize.go +++ b/cc/sanitize.go @@ -43,7 +43,6 @@ var ( "-fno-omit-frame-pointer", "-Wno-frame-larger-than=", "-fsanitize-hwaddress-abi=platform", - "-mllvm", "-hwasan-use-after-scope=1", } // ThinLTO performs codegen during link time, thus these flags need to