Pass -hwasan-allow-ifunc when building with hwasan. am: 967511a4e8

am: b34551b875

Change-Id: I3816cfa924412b9f2be4ca64055f85e15b6c81bf
This commit is contained in:
Peter Collingbourne
2019-03-20 13:14:30 -07:00
committed by android-build-merger

View File

@@ -35,7 +35,11 @@ var (
asanLdflags = []string{"-Wl,-u,__asan_preinit"}
asanLibs = []string{"libasan"}
hwasanCflags = []string{"-fno-omit-frame-pointer", "-Wno-frame-larger-than=", "-mllvm", "-hwasan-create-frame-descriptions=0"}
// TODO(pcc): Stop passing -hwasan-allow-ifunc here once it has been made
// the default.
hwasanCflags = []string{"-fno-omit-frame-pointer", "-Wno-frame-larger-than=",
"-mllvm", "-hwasan-create-frame-descriptions=0",
"-mllvm", "-hwasan-allow-ifunc"}
cfiCflags = []string{"-flto", "-fsanitize-cfi-cross-dso",
"-fsanitize-blacklist=external/compiler-rt/lib/cfi/cfi_blacklist.txt"}