Merge "Reland "Enable hwasan use after scope detection."" am: c9b5aa8138 am: 82d86db1b5

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

Change-Id: Ia7cb30c0514ab69001c7ab465b9ef4eb7457d8bb
This commit is contained in:
Florian Mayer 2022-01-21 20:35:03 +00:00 committed by Automerger Merge Worker
commit 47355233bd

View file

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