Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c4be0815 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Remove experimental pass manager for fuzzer builds."

parents 17db3267 74384758
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -468,6 +468,10 @@ func (sanitize *sanitize) flags(ctx ModuleContext, flags Flags) Flags {
		// TODO(b/131771163): LTO and Fuzzer support is mutually incompatible.
		_, flags.LdFlags = removeFromList("-flto", flags.LdFlags)
		flags.LdFlags = append(flags.LdFlags, "-fno-lto")

		// TODO(b/133876586): Experimental PM breaks sanitizer coverage.
		_, flags.CFlags = removeFromList("-fexperimental-new-pass-manager", flags.CFlags)
		flags.CFlags = append(flags.CFlags, "-fno-experimental-new-pass-manager")
	}

	if Bool(sanitize.Properties.Sanitize.Cfi) {