Merge "Pass -fsanitize-hwaddress-abi=platform when building with hwasan." am: df59655fa3

am: 15f0586f86

Change-Id: I793c7b21a02d2315f84c80a587e09cdfbcbc5dcd
This commit is contained in:
Peter Collingbourne 2019-03-21 19:36:18 -07:00 committed by android-build-merger
commit d485165c75

View file

@ -39,7 +39,8 @@ var (
// the default.
hwasanCflags = []string{"-fno-omit-frame-pointer", "-Wno-frame-larger-than=",
"-mllvm", "-hwasan-create-frame-descriptions=0",
"-mllvm", "-hwasan-allow-ifunc"}
"-mllvm", "-hwasan-allow-ifunc",
"-fsanitize-hwaddress-abi=platform"}
cfiCflags = []string{"-flto", "-fsanitize-cfi-cross-dso",
"-fsanitize-blacklist=external/compiler-rt/lib/cfi/cfi_blacklist.txt"}