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

Commit f776c8c4 authored by Pirama Arumuga Nainar's avatar Pirama Arumuga Nainar
Browse files

[cc/coverage] Override/disable -Wframe-larger-than

We can expect frame size increase with coverage instrumentation.

Test: N/A
Change-Id: Ifdb50809c83939ded5a26804aa0ae9404eb1a107
parent 1785fcb1
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -98,6 +98,9 @@ func (cov *coverage) flags(ctx ModuleContext, flags Flags, deps PathDeps) (Flags
		} else if clangCoverage {
			flags.Local.CommonFlags = append(flags.Local.CommonFlags, profileInstrFlag,
				"-fcoverage-mapping", "-Wno-pass-failed", "-D__ANDROID_CLANG_COVERAGE__")
			// Override -Wframe-larger-than.  We can expect frame size increase after
			// coverage instrumentation.
			flags.Local.CFlags = append(flags.Local.CFlags, "-Wno-frame-larger-than=")
		}
	}