From d255c7bc2f586df0e90d604d7566188807b60727 Mon Sep 17 00:00:00 2001 From: Yi Kong Date: Wed, 7 Aug 2019 14:50:57 -0700 Subject: [PATCH] Switch to clang-r365631 Test: build, boot, bionic-unit-test Test: For Googlers, go/clang-r365631-testing Bug: 131328001 Change-Id: Ib357d9044a72e41f6bde1e5ec2db34e90706124d --- cc/config/global.go | 4 ++-- cc/sanitize.go | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/cc/config/global.go b/cc/config/global.go index 9ce689653..2150abf0d 100644 --- a/cc/config/global.go +++ b/cc/config/global.go @@ -122,8 +122,8 @@ var ( // prebuilts/clang default settings. ClangDefaultBase = "prebuilts/clang/host" - ClangDefaultVersion = "clang-r353983d" - ClangDefaultShortVersion = "9.0.4" + ClangDefaultVersion = "clang-r365631" + ClangDefaultShortVersion = "9.0.6" // Directories with warnings from Android.bp files. WarningAllowedProjects = []string{ diff --git a/cc/sanitize.go b/cc/sanitize.go index a01782443..80f5f95b4 100644 --- a/cc/sanitize.go +++ b/cc/sanitize.go @@ -34,11 +34,7 @@ var ( asanCflags = []string{"-fno-omit-frame-pointer"} asanLdflags = []string{"-Wl,-u,__asan_preinit"} - // 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", "-fsanitize-hwaddress-abi=platform", "-fno-experimental-new-pass-manager"}