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

am: d485165c75

Change-Id: I476bf3798d4eeec998e1f56d5ae5b22ae4481e58
This commit is contained in:
Peter Collingbourne 2019-03-21 19:40:22 -07:00 committed by android-build-merger
commit 8338297f77

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"}