Enable hwasan use after scope detection.

Test: flash & boot flame_hwasan-userdebug
Test: run parts of CTS on flame_hwasan-userdebug

Bug: 184289082
Bug: 172507966
Change-Id: I520bf57df57df45a63bc06a47462d6dc9a541828
diff --git a/cc/sanitize.go b/cc/sanitize.go
index 93d4b4c..324e6dd 100644
--- a/cc/sanitize.go
+++ b/cc/sanitize.go
@@ -43,6 +43,7 @@
 		"-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