Merge changes I728208ed,Ifdb50809
* changes: [cc] Add per-file OWNERS for cc/coverage.go [cc/coverage] Override/disable -Wframe-larger-than
This commit is contained in:
commit
428d5ad909
2 changed files with 4 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
per-file ndk_*.go = danalbert@google.com
|
||||
per-file tidy.go = srhines@google.com, chh@google.com
|
||||
per-file afdo.go,afdo_test.go,lto.go,pgo.go = srhines@google.com, pirama@google.com, yikong@google.com
|
||||
|
||||
per-file coverage.go = pirama@google.com, srhines@google.com, allenhair@google.com
|
||||
|
|
|
@ -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