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

Commit da069087 authored by Yi Kong's avatar Yi Kong
Browse files

Revert "Re-enable ASAN globals instrumentation for devices."

This reverts commit cba311bc.

The build is actually still broken with ASAN globals instrumentation.
We accidentally suppressed ASAN by turning on the new pass manager and
the build breakage was not discovered.

Bug: 137312732
Bug: 139747256
Change-Id: I8110e1413468c4d760a59a8de816a72c9852a7c8
parent cba311bc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -445,6 +445,7 @@ func (sanitize *sanitize) flags(ctx ModuleContext, flags Flags) Flags {
			// libraries needed with -fsanitize=address. http://b/18650275 (WAI)
			flags.LdFlags = append(flags.LdFlags, "-Wl,--no-as-needed")
		} else {
			flags.CFlags = append(flags.CFlags, "-mllvm", "-asan-globals=0")
			if ctx.bootstrap() {
				flags.DynamicLinker = "/system/bin/bootstrap/linker_asan"
			} else {