Merge "Enable hwasan use after scope detection." am: 413da04189

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1894675

Change-Id: I228226c49df69fcb8a7f861b5e10a385fdd69ef4
This commit is contained in:
Florian Mayer
2021-11-30 18:48:53 +00:00
committed by Automerger Merge Worker

View File

@@ -43,6 +43,7 @@ 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