[cc/coverage] Override/disable -Wframe-larger-than
We can expect frame size increase with coverage instrumentation. Test: N/A Change-Id: Ifdb50809c83939ded5a26804aa0ae9404eb1a107
This commit is contained in:
parent
1785fcb171
commit
f776c8c47c
1 changed files with 3 additions and 0 deletions
|
@ -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=")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue