Merge "Disable new pass manager for ASAN build"

am: 5724333e22

Change-Id: I670af9bab9dca4284420cda4bca5ed5884e7d6a6
This commit is contained in:
Yi Kong 2019-08-21 14:47:29 -07:00 committed by android-build-merger
commit 55d2d90ea4

View file

@ -31,7 +31,10 @@ var (
// understand also need to be added to ClangLibToolingUnknownCflags in
// cc/config/clang.go
asanCflags = []string{"-fno-omit-frame-pointer"}
asanCflags = []string{
"-fno-omit-frame-pointer",
"-fno-experimental-new-pass-manager",
}
asanLdflags = []string{"-Wl,-u,__asan_preinit"}
// TODO(pcc): Stop passing -hwasan-allow-ifunc here once it has been made