Disable new pass manager for ASAN build
ASAN build has some weird issues with the new pass manager, keep using the legacy pass manager for now. Test: presubmit Bug: 139747256 Change-Id: I345afbf6bc4043f274a4e7545a895b59c65641b0
This commit is contained in:
@@ -31,7 +31,10 @@ var (
|
|||||||
// understand also need to be added to ClangLibToolingUnknownCflags in
|
// understand also need to be added to ClangLibToolingUnknownCflags in
|
||||||
// cc/config/clang.go
|
// 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"}
|
asanLdflags = []string{"-Wl,-u,__asan_preinit"}
|
||||||
|
|
||||||
// TODO(pcc): Stop passing -hwasan-allow-ifunc here once it has been made
|
// TODO(pcc): Stop passing -hwasan-allow-ifunc here once it has been made
|
||||||
|
Reference in New Issue
Block a user