diff options
author | Evgenii Stepanov <eugenis@google.com> | 2019-02-01 14:53:12 -0800 |
---|---|---|
committer | Evgenii Stepanov <eugenis@google.com> | 2019-02-01 22:56:03 +0000 |
commit | 93c3f5368de394657b48360590f090719d01c2ec (patch) | |
tree | 40de8b925b96646cb7c2c7845a26bf620954c4bc | |
parent | 42b87a2e56ee922667702f1a0e05343aebcdec15 (diff) | |
download | android_build_soong-93c3f5368de394657b48360590f090719d01c2ec.tar.gz android_build_soong-93c3f5368de394657b48360590f090719d01c2ec.tar.bz2 android_build_soong-93c3f5368de394657b48360590f090719d01c2ec.zip |
[hwasan] Remove deprecated compiler flag (NFC)
-hwasan-with-ifunc=0 matches the default value of the flag, and there
are no plans to change that.
Test: SANITIZE_TARGET=hwaddress keeps working
Change-Id: Ie46ffa6ae3c42a9677c3a9a3b5cdc6fb62c2c2f0
-rw-r--r-- | cc/sanitize.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/sanitize.go b/cc/sanitize.go index b9787f0d..ebb638ea 100644 --- a/cc/sanitize.go +++ b/cc/sanitize.go @@ -35,7 +35,7 @@ var ( asanLdflags = []string{"-Wl,-u,__asan_preinit"} asanLibs = []string{"libasan"} - hwasanCflags = []string{"-mllvm", "-hwasan-with-ifunc=0", "-fno-omit-frame-pointer", "-Wno-frame-larger-than=", "-mllvm", "-hwasan-create-frame-descriptions=0"} + hwasanCflags = []string{"-fno-omit-frame-pointer", "-Wno-frame-larger-than=", "-mllvm", "-hwasan-create-frame-descriptions=0"} cfiCflags = []string{"-flto", "-fsanitize-cfi-cross-dso", "-fsanitize-blacklist=external/compiler-rt/lib/cfi/cfi_blacklist.txt"} |